aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template/index.tpl
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--themes/default/template/index.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/template/index.tpl b/themes/default/template/index.tpl
index 8f4e6027b..394add583 100644
--- a/themes/default/template/index.tpl
+++ b/themes/default/template/index.tpl
@@ -17,7 +17,7 @@
{/if}
{/foreach}
</div>
- {footer_script}{literal}
+ {footer_script require='jquery'}{literal}
jQuery("#sortOrderLink").click(function() {
var elt = jQuery("#sortOrderBox");
elt.css("left", Math.min( jQuery(this).offset().left, jQuery(window).width() - elt.outerWidth(true) - 5))
@@ -45,7 +45,7 @@ jQuery("#sortOrderBox").on("mouseleave", function() {
{/if}
{/foreach}
</div>
- {footer_script}{literal}
+ {footer_script require='jquery'}{literal}
jQuery("#derivativeSwitchLink").click(function() {
var elt = jQuery("#derivativeSwitchBox");
elt.css("left", Math.min( jQuery(this).offset().left, jQuery(window).width() - elt.outerWidth(true) - 5))