diff options
-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 e341a8b..1203d8a 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 b85a426..6f85c23 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; |