aboutsummaryrefslogtreecommitdiffstats
path: root/example/templates
diff options
context:
space:
mode:
authorThomas Grainger2012-08-20 13:35:46 +0100
committerThomas Grainger2012-08-20 13:35:46 +0100
commit189668eadd3f47d8c4a03ad2953b25a3a475a127 (patch)
tree13966da3eae4b2a2d22d895e83ba66a885740778 /example/templates
parent119874f649e67e04ded3847fc166b9798af26a78 (diff)
downloaddjango-debug-toolbar-189668eadd3f47d8c4a03ad2953b25a3a475a127.tar.bz2
use links to static files rather than direct inclusion, Fixes #307
Diffstat (limited to 'example/templates')
-rw-r--r--example/templates/jquery/index.html2
-rw-r--r--example/templates/mootools/index.html2
-rw-r--r--example/templates/prototype/index.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/example/templates/jquery/index.html b/example/templates/jquery/index.html
index 61b3cbe..9cab242 100644
--- a/example/templates/jquery/index.html
+++ b/example/templates/jquery/index.html
@@ -6,7 +6,7 @@
.hide {display:none;}
#v {font-weight:bold;}
</style>
- <script type="text/javascript" charset="utf-8" src="{{ MEDIA_URL }}/js/jquery.js"></script>
+ <script type="text/javascript" charset="utf-8" src="{{ STATIC_URL }}/js/jquery.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('p.hide').show();
diff --git a/example/templates/mootools/index.html b/example/templates/mootools/index.html
index fa12abe..dde019d 100644
--- a/example/templates/mootools/index.html
+++ b/example/templates/mootools/index.html
@@ -5,7 +5,7 @@
<style>
.hide {display:none;}
</style>
- <script type="text/javascript" charset="utf-8" src="{{ MEDIA_URL }}/js/mootools.js"></script>
+ <script type="text/javascript" charset="utf-8" src="{{ STATIC_URL }}/js/mootools.js"></script>
<script type="text/javascript">
window.addEvent('domready', function() {
$$('p.hide').setStyle('display', 'block');
diff --git a/example/templates/prototype/index.html b/example/templates/prototype/index.html
index bcc3141..bf3d0a5 100644
--- a/example/templates/prototype/index.html
+++ b/example/templates/prototype/index.html
@@ -5,7 +5,7 @@
<style>
.hide {display:none;}
</style>
- <script type="text/javascript" charset="utf-8" src="{{ MEDIA_URL }}/js/prototype.js"></script>
+ <script type="text/javascript" charset="utf-8" src="{{ STATIC_URL }}/js/prototype.js"></script>
<script type="text/javascript">
document.observe('dom:loaded', function() {
$('showme').removeClassName('hide');