Unverified Commit ca0af473 authored by lauriii's avatar lauriii

Issue #3145930 by bnjmnm, msuthars, nod_: Tableheader should recalculate on toolbar tray toggle

parent fe749ea4
......@@ -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.
......
......@@ -78,7 +78,7 @@
'scroll.TableHeader': tableHeaderOnScrollHandler
});
$(document).on({
'columnschange.TableHeader': tableHeaderResizeHandler,
'columnschange.TableHeader drupalToolbarTrayChange': tableHeaderResizeHandler,
'drupalViewportOffsetChange.TableHeader': tableHeaderOffsetChangeHandler
});
$.extend(TableHeader, {
......
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