Commit 9ee87105 authored by xjm's avatar xjm
Browse files

Issue #2856364 by drpal, Wim Leers: Reposition Quickedit overlay on toolbar orientation change

parent cd176e1d
......@@ -51,7 +51,7 @@
// Reposition the entity toolbar as the viewport and the position within
// the viewport changes.
$(window).on('resize.quickedit scroll.quickedit', debounce($.proxy(this.windowChangeHandler, this), 150));
$(window).on('resize.quickedit scroll.quickedit drupalViewportOffsetChange.quickedit', debounce($.proxy(this.windowChangeHandler, this), 150));
// Adjust the fence placement within which the entity toolbar may be
// positioned.
......@@ -141,7 +141,7 @@
// Stop listening to additional events.
$(window).off('resize.quickedit scroll.quickedit');
$(window).off('resize.quickedit scroll.quickedit drupalViewportOffsetChange.quickedit');
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