diff options
author | Dan McGee <dan@archlinux.org> | 2010-02-27 14:13:44 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-02-27 14:13:44 -0600 |
commit | 696c97b7f86730e36c94a05234bb9627a575281b (patch) | |
tree | 1e820e790b16c6819f10a5cdc98816f5b6372a55 | |
parent | 680ddeb0894df7d0e6939d9fc6d542ee1c585817 (diff) |
Convert templates to use jquery cdn tag
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | templates/devel/index.html | 2 | ||||
-rw-r--r-- | templates/todolists/view.html | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/templates/devel/index.html b/templates/devel/index.html index e341a8bb..1203d8a6 100644 --- a/templates/devel/index.html +++ b/templates/devel/index.html @@ -1,7 +1,7 @@ {% extends "base.html" %} {% block head %} -<script type="text/javascript" src="/media/jquery-1.4.1.min.js"></script> +{% load cdn %}{% jquery %} {% endblock %} {% block content %} diff --git a/templates/todolists/view.html b/templates/todolists/view.html index b85a4266..6f85c231 100644 --- a/templates/todolists/view.html +++ b/templates/todolists/view.html @@ -46,10 +46,9 @@ </div> </div> - <script type="text/javascript" src="/media/jquery-1.4.1.min.js"></script> + {% load cdn %}{% jquery %} <script type="text/javascript"> $(function() { - // Allow flagging of ToDo items using AJAX $('a[href*=todo/flag]').click(function() { var link = this; |