Put SCALE_BASE in skin.js.php as it is used in many places.
This commit is contained in:
parent
6f3e22f2a0
commit
a7fd65d844
|
@ -54,6 +54,7 @@ foreach ( $perms as $perm ) {
|
||||||
?>
|
?>
|
||||||
|
|
||||||
var ANIMATE_THUMBS = <?php echo ZM_WEB_ANIMATE_THUMBS?'true':'false' ?>;
|
var ANIMATE_THUMBS = <?php echo ZM_WEB_ANIMATE_THUMBS?'true':'false' ?>;
|
||||||
|
var SCALE_BASE = <?php echo SCALE_BASE ?>;
|
||||||
|
|
||||||
var refreshParent = <?php
|
var refreshParent = <?php
|
||||||
if ( ! empty($refreshParent) ) {
|
if ( ! empty($refreshParent) ) {
|
||||||
|
|
Loading…
Reference in New Issue