diff --git a/app/static/js/home.js b/app/static/js/home.js
index 1377f82..e5434cd 100644
--- a/app/static/js/home.js
+++ b/app/static/js/home.js
@@ -35,6 +35,10 @@ var loadItems = function() {
});
}, 1000)
};
+$(document).ready(function(){
+ $(window).bind('scroll', loadOnScroll);
+ $.material.init();
+});
$(".accordion").bind('click', function(){
var icon = $(this).find('span');
if(icon.hasClass("glyphicon-chevron-down")){
@@ -43,10 +47,5 @@ $(".accordion").bind('click', function(){
}else{
$(this).find('span').removeClass('glyphicon-chevron-up');
$(this).find('span').addClass('glyphicon-chevron-down');
- };
-
-});
-$(document).ready(function(){
- $(window).bind('scroll', loadOnScroll);
- $.material.init();
+ }
});
\ No newline at end of file
diff --git a/app/templates/home.html b/app/templates/home.html
index 4878fa5..00fde03 100644
--- a/app/templates/home.html
+++ b/app/templates/home.html
@@ -3,6 +3,7 @@
{% load static i18n django_bootstrap_breadcrumbs permission_tags %}
{% block javascript %}
+ {{ block.super }}
{% if page_obj %}
{% endif %}
-
+
{% endblock %}
{% block breadcrumbs %}
diff --git a/core/templates/base.html b/core/templates/base.html
index d59aa90..89eca77 100644
--- a/core/templates/base.html
+++ b/core/templates/base.html
@@ -143,6 +143,7 @@
{% endblock script_link %}
+