summaryrefslogtreecommitdiff
path: root/it_html.class
diff options
context:
space:
mode:
Diffstat (limited to 'it_html.class')
-rw-r--r--it_html.class3
1 files changed, 1 insertions, 2 deletions
diff --git a/it_html.class b/it_html.class
index 20b0c75..c7dfc22 100644
--- a/it_html.class
+++ b/it_html.class
@@ -217,10 +217,9 @@ function head($args = array())
if ($p['js'])
{
- $checksum = itjs::checksum(itjs::filenames($p['js']));
$js .= $this->_itjs("boot.js", "inline");
$js .= "function it_boot_start(){ " . trim($p['jsboot']) . " }\n";
- $js .= "it_boot('/itjs/" . U($p['js'], array('s' => $checksum)) . "');\n";
+ $js .= "it_boot('/itjs/" . U($p['js'], array('s' => itjs::checksum($p['js']))) . "');\n";
}
if ($js)