Put SCALE_BASE in skin.js.php as it is used in many places.

This commit is contained in:
Isaac Connor 2021-11-10 14:21:38 -05:00
parent b8f6172110
commit 43c1886267
1 changed files with 1 additions and 0 deletions

View File

@ -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) ) {