Skip to content
Snippets Groups Projects
Commit 11af838d authored by Dries Buytaert's avatar Dries Buytaert
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
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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,
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment