Cleanup
This commit is contained in:
parent
a81fdc90c7
commit
37ca2106a9
|
@ -2,7 +2,7 @@
|
||||||
const setPosition = (wrapperEl, editorEl, selectedEl) => {
|
const setPosition = (wrapperEl, editorEl, selectedEl) => {
|
||||||
// Container element offset
|
// Container element offset
|
||||||
const containerBounds = wrapperEl.getBoundingClientRect();
|
const containerBounds = wrapperEl.getBoundingClientRect();
|
||||||
const { pageXOffset, pageYOffset } = window;
|
const { pageYOffset } = window;
|
||||||
|
|
||||||
// Re-set orientation class
|
// Re-set orientation class
|
||||||
editorEl.className = 'r6o-editor';
|
editorEl.className = 'r6o-editor';
|
||||||
|
|
Loading…
Reference in New Issue