diff options
| author | Idan Gazit | 2009-08-28 02:39:44 +0300 |
|---|---|---|
| committer | Idan Gazit | 2009-08-28 02:39:44 +0300 |
| commit | 039601b7ec282eaee96c495b383713370d07c157 (patch) | |
| tree | 807241f2b0807e481f7214e3b8e2ff6544b8289f | |
| parent | 23a8871b5e0fb170e33c49547746d0fa225c9f64 (diff) | |
| download | django-debug-toolbar-039601b7ec282eaee96c495b383713370d07c157.tar.bz2 | |
panel animation, we hardly knew thee (removed animation)
| -rw-r--r-- | debug_toolbar/media/debug_toolbar/toolbar.css | 4 | ||||
| -rw-r--r-- | debug_toolbar/media/debug_toolbar/toolbar.js | 17 |
2 files changed, 7 insertions, 14 deletions
diff --git a/debug_toolbar/media/debug_toolbar/toolbar.css b/debug_toolbar/media/debug_toolbar/toolbar.css index 91b105a..b12d86a 100644 --- a/debug_toolbar/media/debug_toolbar/toolbar.css +++ b/debug_toolbar/media/debug_toolbar/toolbar.css @@ -141,9 +141,9 @@ position:fixed; margin:0; top:0; - right:150px; + right:200px; bottom:0; - left:50px; + left:0px; background-color:#eee; color:#666; z-index:1000000; diff --git a/debug_toolbar/media/debug_toolbar/toolbar.js b/debug_toolbar/media/debug_toolbar/toolbar.js index e47adfa..7b6d534 100644 --- a/debug_toolbar/media/debug_toolbar/toolbar.js +++ b/debug_toolbar/media/debug_toolbar/toolbar.js @@ -12,16 +12,13 @@ jQuery(function($j) { return false; } current = $j('#djDebug #' + this.className); - $j(document).trigger('close.djDebug'); if (current.is(':visible')) { + $j(document).trigger('close.djDebug'); $j(this).parent().removeClass("active"); } else { - $j('.panelContent').hide(); - current.animate({ - right:"200px", - left:"0px", - opacity:"show" - },200); + //$j('.panelContent').hide(); + $j(document).trigger('close.djDebug'); + current.show(); $j.djDebug.open(); $j('#djDebugToolbar li').removeClass("active"); $j(this).parent().addClass("active"); @@ -111,11 +108,7 @@ jQuery(function($j) { }); $j(document).bind('close.djDebug', function() { $j(document).unbind('keydown.djDebug'); - $j('.panelContent').animate({ - right:"150px", - left:"50px", - opacity:"hide" - }, 150); + $j('.panelContent').hide() $j('#djDebugToolbar li').removeClass("active"); }); }); |
