Fix Scrutinizer issue
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
parent
84b8cb12be
commit
eebf19e2e6
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue