fix image viewer

remotes/origin/stable4
Robin Appelman 14 years ago
parent c5b31b001a
commit d17eba19c1
  1. 2
      apps/files_imageviewer/js/lightbox.js

@ -18,7 +18,7 @@ $(document).ready(function() {
});
function viewImage(dir, file) {
if(file.indexOf('.psd')){//can't view those
if(file.indexOf('.psd')>0){//can't view those
return;
}
var location=OC.filePath('files','ajax','download.php')+'?files='+file+'&dir='+dir;

Loading…
Cancel
Save