only load image viewer when in file browser
This commit is contained in:
parent
153d8fec30
commit
277e644558
|
@ -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…
Reference in New Issue