diff options
author | Chris <chris@chrismatic.io> | 2015-03-16 12:02:54 -0600 |
---|---|---|
committer | Chris <chris@chrismatic.io> | 2015-03-16 12:02:54 -0600 |
commit | 9395e78957490c0430fddc476ec8cfe39045b07e (patch) | |
tree | 0b1297b2051746321c748d46541d51c35bfb5df5 /platform/safari | |
parent | 6b8118bb684b597d1d7e973207d22f85bc347891 (diff) | |
download | uBlock-9395e78957490c0430fddc476ec8cfe39045b07e.zip uBlock-9395e78957490c0430fddc476ec8cfe39045b07e.tar.gz uBlock-9395e78957490c0430fddc476ec8cfe39045b07e.tar.bz2 |
Safari: make popup sizing work w/ recent modifications
Diffstat (limited to 'platform/safari')
-rw-r--r-- | platform/safari/vapi-popup.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/safari/vapi-popup.js b/platform/safari/vapi-popup.js index 70c8ff7..80d6835 100644 --- a/platform/safari/vapi-popup.js +++ b/platform/safari/vapi-popup.js @@ -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); })(); |