aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/static
diff options
context:
space:
mode:
authorBo Lopker2014-08-25 21:37:23 -0400
committertschilling2014-08-25 21:37:23 -0400
commit69bf1eb127f8c1b6b7c6c2e798ccd208293c1309 (patch)
tree4b5cbd66f89e38ae61df22da7ca14cb860247f9e /debug_toolbar/static
parente009bb394820c6753e6f6a36e9eb88fb61606248 (diff)
downloaddjango-debug-toolbar-master.tar.bz2
Remove css text-indent hack for back and close buttons.HEADmaster
Fixes #624. Remove text-index Remove old 'Back' text Remove 'close' text
Diffstat (limited to 'debug_toolbar/static')
-rw-r--r--debug_toolbar/static/debug_toolbar/css/toolbar.css1
-rw-r--r--debug_toolbar/static/debug_toolbar/js/toolbar.js4
2 files changed, 2 insertions, 3 deletions
diff --git a/debug_toolbar/static/debug_toolbar/css/toolbar.css b/debug_toolbar/static/debug_toolbar/css/toolbar.css
index 235b277..a02768f 100644
--- a/debug_toolbar/static/debug_toolbar/css/toolbar.css
+++ b/debug_toolbar/static/debug_toolbar/css/toolbar.css
@@ -370,7 +370,6 @@
*/
#djDebug .djdt-panelContent .djDebugClose {
- text-indent:-9999999px;
display:block;
position:absolute;
top:4px;
diff --git a/debug_toolbar/static/debug_toolbar/js/toolbar.js b/debug_toolbar/static/debug_toolbar/js/toolbar.js
index de46c02..aacffc2 100644
--- a/debug_toolbar/static/debug_toolbar/js/toolbar.js
+++ b/debug_toolbar/static/debug_toolbar/js/toolbar.js
@@ -34,7 +34,7 @@
inner.prev().remove(); // Remove AJAX loader
inner.html(data);
}).fail(function(xhr){
- var message = '<div class="djDebugPanelTitle"><a class="djDebugClose djDebugBack" href="">Back</a><h3>'+xhr.status+': '+xhr.statusText+'</h3></div>';
+ var message = '<div class="djDebugPanelTitle"><a class="djDebugClose djDebugBack" href=""></a><h3>'+xhr.status+': '+xhr.statusText+'</h3></div>';
$('#djDebugWindow').html(message).show();
});
}
@@ -79,7 +79,7 @@
$.ajax(ajax_data).done(function(data){
$('#djDebugWindow').html(data).show();
}).fail(function(xhr){
- var message = '<div class="djDebugPanelTitle"><a class="djDebugClose djDebugBack" href="">Back</a><h3>'+xhr.status+': '+xhr.statusText+'</h3></div>';
+ var message = '<div class="djDebugPanelTitle"><a class="djDebugClose djDebugBack" href=""></a><h3>'+xhr.status+': '+xhr.statusText+'</h3></div>';
$('#djDebugWindow').html(message).show();
});