mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-06 09:37:12 +02:00
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
|
body.style.position = "relative"; // Necessary for size change detection
|
||||||
whenSizeChanges(body, updateSize);
|
whenSizeChanges(body, updateSize);
|
||||||
|
updateSize();
|
||||||
};
|
};
|
||||||
window.addEventListener('load', onLoaded);
|
window.addEventListener("load", onLoaded);
|
||||||
})();
|
})();
|
||||||
|
Loading…
Reference in New Issue
Block a user