diff --git a/inc/class.page.php b/inc/class.page.php --- a/inc/class.page.php +++ b/inc/class.page.php @@ -127,8 +127,7 @@ class page $this->headCode['jQueryUI'] = ''; $this->headCode['jValidate'] = ''; $this->headCode['jAddress'] = ''; - $this->headCode['jQuery.cuteTime'] = '' - . $this->script_wrap('$.fn.cuteTime.settings.time_ranges[0].cuteness = \'in the future\';'); + $this->headCode['jQuery.cuteTime'] = ''; $this->headCode['qTip'] = ''; $this->headCode['qTip2'] = ''; $this->headCode['schedInput'] = ''; @@ -273,7 +272,8 @@ class page */ $javascript_init = ''; if (in_array('jQuery.cuteTime', $this->scripts)) - $javascript_init .= 'jQuery.extend(jQuery.fn.cuteTime.settings, {refresh: 10000, use_html_attribute: false});' . PHP_EOL; + $javascript_init .= 'jQuery.extend(jQuery.fn.cuteTime.settings, {refresh: 10000, use_html_attribute: false});' . PHP_EOL + . 'jQuery.fn.cuteTime.settings.time_ranges[0].cuteness = \'in the future\';' . PHP_EOL; echo $this->script_wrap('' . 'var slate_permutate_school = ' . json_encode($this->school['id']) . ';' . PHP_EOL