1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-08 12:57:57 +02:00

Safari: make popup sizing work w/ recent modifications

This commit is contained in:
Chris 2015-03-16 12:02:54 -06:00
parent 6b8118bb68
commit 9395e78957

View File

@ -63,6 +63,7 @@ var onLoaded = function() {
}; };
body.style.position = "relative"; // Necessary for size change detection body.style.position = "relative"; // Necessary for size change detection
whenSizeChanges(body, updateSize); whenSizeChanges(body, updateSize);
updateSize();
}; };
window.addEventListener('load', onLoaded); window.addEventListener("load", onLoaded);
})(); })();