From aaf8a9835ca08195621a02eff268f35937160199 Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 16 Mar 2015 22:51:29 -0600 Subject: [PATCH] Safari: use self instead of window, just in case --- platform/safari/vapi-common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/safari/vapi-common.js b/platform/safari/vapi-common.js index 49cab7cf8..0cd2be657 100644 --- a/platform/safari/vapi-common.js +++ b/platform/safari/vapi-common.js @@ -143,6 +143,6 @@ Number.prototype.toLocaleString = function() { // This storage is optional, but it is nice to have, for a more polished user // experience. -vAPI.localStorage = window.localStorage; +vAPI.localStorage = self.localStorage; })();