mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 05:07:27 +02:00
Prevent gallery js loading on every admin page.
This commit is contained in:
@@ -19,7 +19,7 @@ if(USER_AREA)
|
||||
.thumbnails .span2:nth-child(6n+1) {
|
||||
margin-left:0;
|
||||
}", 'jquery');
|
||||
}
|
||||
|
||||
|
||||
$plugPrefs = e107::getPlugConfig('gallery')->getPref();
|
||||
|
||||
@@ -29,3 +29,5 @@ if(vartrue($plugPrefs['pp_global'], false))
|
||||
// Load prettyPhoto settings and files.
|
||||
gallery_load_prettyphoto();
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user