We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5f29e4 commit e25a6baCopy full SHA for e25a6ba
debug_toolbar/templates/debug_toolbar/base.html
@@ -6,7 +6,11 @@
6
var _$ = window.$;
7
if (typeof jQuery == 'undefined') {
8
var jquery_url = '{{ BASE_URL }}/__debug__/m/jquery.js';
9
- document.write(unescape('%3Cscript src="' + jquery_url + '" type="text/javascript"%3E%3C/script%3E'));
+ var head = document.getElementsByTagName("head")[0];
10
+ var script = document.createElement('script');
11
+ script.type = 'text/javascript';
12
+ script.src = jquery_url;
13
+ head.appendChild(script);
14
}
15
/* ]]> */
16
</script>
0 commit comments