Skip to content

Commit 668be71

Browse files
committed
Temporary workaround for a regression introduced by #440.
1 parent 363c4a8 commit 668be71

File tree

1 file changed

+1
-8
lines changed
  • debug_toolbar/templates/debug_toolbar

1 file changed

+1
-8
lines changed

debug_toolbar/templates/debug_toolbar/base.html

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,7 @@
33
@media print { #djDebug {display:none;}}
44
</style>
55
<link rel="stylesheet" href="{{ STATIC_URL }}debug_toolbar/css/toolbar.min.css" type="text/css" />
6-
<script>
7-
if(!window.jQuery) {
8-
var script = document.createElement('script');
9-
script.src = "{{ STATIC_URL }}debug_toolbar/js/jquery.js";
10-
var exist = document.getElementsByTagName('script')[0];
11-
exist.parentNode.insertBefore(script, exist);
12-
}
13-
</script>
6+
<script src="{{ STATIC_URL }}debug_toolbar/js/jquery.js"></script>
147
<script src="{{ STATIC_URL }}debug_toolbar/js/jquery.cookie.js"></script>
158
<script src="{{ STATIC_URL }}debug_toolbar/js/toolbar.js"></script>
169
<div id="djDebug" style="display:none;" dir="ltr" {{ TOOLBAR_ROOT_TAG_ATTRS|safe }}>

0 commit comments

Comments
 (0)