Skip to content
Snippets Groups Projects
Verified Commit eb1b0626 authored by Lauri Timmanee's avatar Lauri Timmanee
Browse files

Issue #3145930 by bnjmnm, lauriii, msuthars, nod_: Tableheader should...

Issue #3145930 by bnjmnm, lauriii, msuthars, nod_: Tableheader should recalculate on toolbar tray toggle
parent 7feeb44c
No related branches found
No related tags found
No related merge requests found
......@@ -139,12 +139,12 @@
// Bind to custom Drupal events.
$(document).on({
/**
* Recalculate columns width when window is resized and when show/hide
* weight is triggered.
* Recalculate columns width when window is resized, when show/hide weight
* is triggered, or when toolbar tray is toggled.
*
* @ignore
*/
'columnschange.TableHeader': tableHeaderResizeHandler,
'columnschange.TableHeader drupalToolbarTrayChange': tableHeaderResizeHandler,
/**
* Recalculate TableHeader.topOffset when viewport is resized.
......
......@@ -77,7 +77,7 @@
});
$(document).on({
'columnschange.TableHeader': tableHeaderResizeHandler,
'columnschange.TableHeader drupalToolbarTrayChange': tableHeaderResizeHandler,
'drupalViewportOffsetChange.TableHeader': tableHeaderOffsetChangeHandler
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment