Unverified Commit eb1b0626 authored by lauriii's avatar lauriii

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
......@@ -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
});
......
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