only load image viewer when in file browser

remotes/origin/stable
Robin Appelman 14 years ago
parent 153d8fec30
commit 277e644558
  1. 2
      apps/files_imageviewer/js/lightbox.js

@ -1,3 +1,4 @@
if(typeof ileActions!=='undefined'){
var lightBoxShown=false; var lightBoxShown=false;
$(document).ready(function() { $(document).ready(function() {
images={};//image cache images={};//image cache
@ -53,3 +54,4 @@ function hideLightbox(){
lightBoxShown=false; lightBoxShown=false;
} }
} }
}
Loading…
Cancel
Save