mirror of https://github.com/gorhill/uBlock.git
Safari: make popup sizing work w/ recent modifications
This commit is contained in:
parent
6b8118bb68
commit
9395e78957
|
@ -63,6 +63,7 @@ var onLoaded = function() {
|
|||
};
|
||||
body.style.position = "relative"; // Necessary for size change detection
|
||||
whenSizeChanges(body, updateSize);
|
||||
updateSize();
|
||||
};
|
||||
window.addEventListener('load', onLoaded);
|
||||
window.addEventListener("load", onLoaded);
|
||||
})();
|
||||
|
|
Loading…
Reference in New Issue