From 54f70193a784b441db6ae5b6b89b3c46e702898c Mon Sep 17 00:00:00 2001
From: Julian Pustkuchen <Julian@Pustkuchen.com>
Date: Thu, 3 Jul 2014 10:11:01 +0200
Subject: [PATCH] Moved JS to the footer.

---
 jquery_loadinganimation.module | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/jquery_loadinganimation.module b/jquery_loadinganimation.module
index cb17e60..fefa9de 100644
--- a/jquery_loadinganimation.module
+++ b/jquery_loadinganimation.module
@@ -9,7 +9,7 @@ function jquery_loadinganimation_init() {
   $path = drupal_strtolower(drupal_get_path_alias($_GET['q']));
   if (!drupal_match_path($path, $js_settings['jquery_loadinganimation_path_match_exclude'])) {
     drupal_add_js(array('jquery_loadinganimation' => $js_settings), 'setting');
-    drupal_add_js($module_path . '/jquery_loadinganimation.js');
+    drupal_add_js($module_path . '/jquery_loadinganimation.js', array('scope' => 'footer'));
     drupal_add_css($module_path . '/jquery_loadinganimation.css');
   }
 }
-- 
GitLab