From 69bf1eb127f8c1b6b7c6c2e798ccd208293c1309 Mon Sep 17 00:00:00 2001 From: Bo Lopker Date: Mon, 25 Aug 2014 21:37:23 -0400 Subject: Remove css text-indent hack for back and close buttons. Fixes #624. Remove text-index Remove old 'Back' text Remove 'close' text --- debug_toolbar/static/debug_toolbar/css/toolbar.css | 1 - debug_toolbar/static/debug_toolbar/js/toolbar.js | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'debug_toolbar/static') 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 = '
Back

'+xhr.status+': '+xhr.statusText+'

'; + var message = '

'+xhr.status+': '+xhr.statusText+'

'; $('#djDebugWindow').html(message).show(); }); } @@ -79,7 +79,7 @@ $.ajax(ajax_data).done(function(data){ $('#djDebugWindow').html(data).show(); }).fail(function(xhr){ - var message = '
Back

'+xhr.status+': '+xhr.statusText+'

'; + var message = '

'+xhr.status+': '+xhr.statusText+'

'; $('#djDebugWindow').html(message).show(); }); -- cgit v1.2.3