diff options
Diffstat (limited to 'src/editor.mjs')
-rw-r--r-- | src/editor.mjs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/editor.mjs b/src/editor.mjs index 4a58f12..d1f84a2 100644 --- a/src/editor.mjs +++ b/src/editor.mjs | |||
@@ -444,10 +444,6 @@ const menuForEditor = (event, menu) => { | |||
444 | }) | 444 | }) |
445 | menu.insertBefore(item, menu.firstChild) | 445 | menu.insertBefore(item, menu.firstChild) |
446 | } | 446 | } |
447 | |||
448 | // Prevent menu appears outside of window | ||
449 | menu.style.transform = '' | ||
450 | shiftByWindow(menu) | ||
451 | } | 447 | } |
452 | 448 | ||
453 | /** | 449 | /** |