mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 12:48:26 +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) {
|
.thumbnails .span2:nth-child(6n+1) {
|
||||||
margin-left:0;
|
margin-left:0;
|
||||||
}", 'jquery');
|
}", 'jquery');
|
||||||
}
|
|
||||||
|
|
||||||
$plugPrefs = e107::getPlugConfig('gallery')->getPref();
|
$plugPrefs = e107::getPlugConfig('gallery')->getPref();
|
||||||
|
|
||||||
@@ -29,3 +29,5 @@ if(vartrue($plugPrefs['pp_global'], false))
|
|||||||
// Load prettyPhoto settings and files.
|
// Load prettyPhoto settings and files.
|
||||||
gallery_load_prettyphoto();
|
gallery_load_prettyphoto();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user