From 2e19cbeb4852c79716de33f066d077eeecb855f8 Mon Sep 17 00:00:00 2001
From: ale <ale@incal.net>
Date: Sun, 30 Oct 2011 09:21:00 +0000
Subject: [PATCH] load jquery first

---
 server/djrandom/frontend/static/Makefile      | 2 +-
 server/djrandom/frontend/templates/index.html | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/server/djrandom/frontend/static/Makefile b/server/djrandom/frontend/static/Makefile
index 2dddbd0..afda304 100644
--- a/server/djrandom/frontend/static/Makefile
+++ b/server/djrandom/frontend/static/Makefile
@@ -7,7 +7,6 @@ CSS_SOURCES = \
 # FIXME: Some files don't work when minified.
 JS_SINGLE_FILE = js/bundle.js
 JS_SOURCES = \
-	js/jquery-1.6.4.min.js \
 	js/jquery.autocomplete.min.js \
 	js/jquery.fullbg.min.js \
 	js/jquery.grab.js \
@@ -19,6 +18,7 @@ JS_SOURCES = \
 
 
 BUNDLES = $(CSS_SINGLE_FILE) \
+	js/jquery-1.6.4.min.js \
 	$(JS_SINGLE_FILE)
 COMPRESSED_BUNDLES = $(BUNDLES:%=%.gz)
 
diff --git a/server/djrandom/frontend/templates/index.html b/server/djrandom/frontend/templates/index.html
index c0dca81..db31691 100644
--- a/server/djrandom/frontend/templates/index.html
+++ b/server/djrandom/frontend/templates/index.html
@@ -42,6 +42,8 @@
     <link rel="stylesheet" type="text/css"
           href="/static/circle.skin/circle.player.css">
 
+    <script type="text/javascript"
+            src="/static/js/jquery-1.6.4.min.js"></script>
     <script type="text/javascript"
             src="/static/js/bundle.js"></script>
     {% endif %}
-- 
GitLab