From 9395e78957490c0430fddc476ec8cfe39045b07e Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 16 Mar 2015 12:02:54 -0600 Subject: [PATCH] Safari: make popup sizing work w/ recent modifications --- platform/safari/vapi-popup.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/safari/vapi-popup.js b/platform/safari/vapi-popup.js index 70c8ff7e8..80d68351d 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); })();