Skip to content

Commit

Permalink
Safari: use self instead of window, just in case
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisaljoudi committed Mar 17, 2015
1 parent 6a85e5d commit aaf8a98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/safari/vapi-common.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

})();

0 comments on commit aaf8a98

Please sign in to comment.