Commit 11af838d authored by Dries's avatar Dries
Browse files

- Patch #745664 by james.elliott: toolbar doesn't properly add / remove the...

- Patch #745664 by james.elliott: toolbar doesn't properly add / remove the toolbar-drawer class when collapsing and expanding the drawer.
parent fa884b11
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment