aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/templates
diff options
context:
space:
mode:
authorChris Adams2011-02-03 10:22:24 -0500
committerChris Adams2011-02-03 10:22:24 -0500
commit1efd6e652e35aa32339f2d5d6d8772a172646c84 (patch)
treee546cc2855935f808a77a3e5a43dfb87ceaf901d /debug_toolbar/templates
parent8cb8abae8cec44909947dbe54e1ed644deeecbd6 (diff)
downloaddjango-debug-toolbar-1efd6e652e35aa32339f2d5d6d8772a172646c84.tar.bz2
HTML validation: avoid injecting <style> in <body>
This avoids causing otherwise valid HTML to fail validation because <style> is only allowed in <head>
Diffstat (limited to 'debug_toolbar/templates')
-rw-r--r--debug_toolbar/templates/debug_toolbar/base.html1
1 files changed, 0 insertions, 1 deletions
diff --git a/debug_toolbar/templates/debug_toolbar/base.html b/debug_toolbar/templates/debug_toolbar/base.html
index 0fe64ca..7f7a535 100644
--- a/debug_toolbar/templates/debug_toolbar/base.html
+++ b/debug_toolbar/templates/debug_toolbar/base.html
@@ -1,5 +1,4 @@
{% load i18n %}
-<style type="text/css">@media print { #djDebug {display:none;}}</style>
<script type="text/javascript">
// <![CDATA[
var DEBUG_TOOLBAR_MEDIA_URL = "{{ DEBUG_TOOLBAR_MEDIA_URL }}";