diff --git a/_includes/footer.html b/_includes/footer.html
index 191d9da1cb..34cd6eaea8 100644
--- a/_includes/footer.html
+++ b/_includes/footer.html
@@ -21,7 +21,7 @@
{% if site.extra_footer_js %}
- {%- for extra_js in site.extra_header_js -%}
+ {%- for extra_js in site.extra_footer_js -%}
{%- assign starts_with = extra_js | slice: 0,4 -%}
{% if starts_with == "http" %}