Fix Scrutinizer issue

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
Jan-Christoph Borchardt 2017-11-02 15:26:37 +01:00
parent 84b8cb12be
commit eebf19e2e6
1 changed files with 2 additions and 1 deletions

View File

@ -116,7 +116,8 @@ OCA.Sharing.PublicApp = {
scalingup: 0
};
var imgcontainer = $('<a href="' + $('#previewURL').val() + '" target="_blank"><img class="publicpreview" alt=""></a>');
var imgcontainer = $('<a href="' + $('#previewURL').val()
+ '" target="_blank"><img class="publicpreview" alt=""></a>');
var img = imgcontainer.find('.publicpreview');
img.css({
'max-width': previewWidth,