diff --git a/src/editor/setPosition.js b/src/editor/setPosition.js index f99c650..9149699 100644 --- a/src/editor/setPosition.js +++ b/src/editor/setPosition.js @@ -2,7 +2,7 @@ const setPosition = (wrapperEl, editorEl, selectedEl) => { // Container element offset const containerBounds = wrapperEl.getBoundingClientRect(); - const { pageXOffset, pageYOffset } = window; + const { pageYOffset } = window; // Re-set orientation class editorEl.className = 'r6o-editor';