diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-04-04 20:27:08 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-04-04 20:27:08 +0000 |
commit | 11af838dae568f596da6dd4757503911b4795e35 (patch) | |
tree | c63b973743372da858843e2cc4e8dd9c3bb4d140 /modules/toolbar | |
parent | fa884b1158b5785fff70d9cc44ac126bcee615d9 (diff) | |
download | brdo-11af838dae568f596da6dd4757503911b4795e35.tar.gz brdo-11af838dae568f596da6dd4757503911b4795e35.tar.bz2 |
- Patch #745664 by james.elliott: toolbar doesn't properly add / remove the toolbar-drawer class when collapsing and expanding the drawer.
Diffstat (limited to 'modules/toolbar')
-rw-r--r-- | modules/toolbar/toolbar.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/toolbar/toolbar.js b/modules/toolbar/toolbar.js index 673507fbe..85129f824 100644 --- a/modules/toolbar/toolbar.js +++ b/modules/toolbar/toolbar.js @@ -49,7 +49,7 @@ Drupal.toolbar.collapse = function() { .removeClass('toggle-active') .attr('title', toggle_text) .html(toggle_text); - $('body').addClass('toolbar-drawer').css('paddingTop', Drupal.toolbar.height()); + $('body').removeClass('toolbar-drawer').css('paddingTop', Drupal.toolbar.height()); $.cookie( 'Drupal.toolbar.collapsed', 1, |