diff options
Diffstat (limited to 'apps/files_imageviewer/appinfo/app.php')
-rw-r--r-- | apps/files_imageviewer/appinfo/app.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/files_imageviewer/appinfo/app.php b/apps/files_imageviewer/appinfo/app.php index bc0059b8b66..50a7253e01b 100644 --- a/apps/files_imageviewer/appinfo/app.php +++ b/apps/files_imageviewer/appinfo/app.php @@ -1,6 +1,8 @@ <?php -OC_UTIL::addScript( 'files_imageviewer', 'lightbox' ); -OC_UTIL::addStyle( 'files_imageviewer', 'lightbox' ); +if(OC_APP::getCurrentApp()=='files'){ + OC_UTIL::addScript( 'files_imageviewer', 'lightbox' ); + OC_UTIL::addStyle( 'files_imageviewer', 'lightbox' ); +} ?> |