Procházet zdrojové kódy

fixed issue when moving note

Former-commit-id: ac92ca12f8351309d82a1a4a07950b4ba5e9197e
Gildas před 6 roky
rodič
revize
834fcfa75c
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      extension/ui/content/content-ui-editor-web.js

+ 1 - 0
extension/ui/content/content-ui-editor-web.js

@@ -276,6 +276,7 @@
 			} else {
 				anchorElement = document.documentElement;
 			}
+			document.documentElement.insertBefore(containerElement, maskPageElement.getRootNode().host);
 			noteElement.style.setProperty("left", (clientX - deltaX) + "px");
 			noteElement.style.setProperty("top", (clientY - deltaY) + "px");
 			noteElement.style.setProperty("position", "fixed");