Explorar el Código

Fix Scrutinizer issue

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
tags/v13.0.0beta1
Jan-Christoph Borchardt hace 6 años
padre
commit
eebf19e2e6
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2
    1
      apps/files_sharing/js/public.js

+ 2
- 1
apps/files_sharing/js/public.js Ver fichero

@@ -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,

Cargando…
Cancelar
Guardar