This commit is contained in:
tophf 2017-08-16 14:06:06 +03:00
parent 93fdd787d4
commit a077de3624

View File

@ -314,8 +314,8 @@ function initDocRootObserver() {
for (const el of styleElements.values()) {
if (el.previousElementSibling !== expectedPrevSibling) {
ROOT.insertBefore(el, expectedPrevSibling.nextSibling);
expectedPrevSibling = el;
}
expectedPrevSibling = el;
}
if (document.body) {
docRootObserver = null;