only load image viewer when in file browser

This commit is contained in:
Robin Appelman 2011-06-04 23:08:38 +02:00
parent 153d8fec30
commit 277e644558
1 changed files with 49 additions and 47 deletions

View File

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