From 3df7ee9cb1ed84350fd272ad450972e154df1d96 Mon Sep 17 00:00:00 2001 From: gorhill Date: Sat, 1 Apr 2017 12:21:46 -0400 Subject: [PATCH] fix regression bug introduced with 9a99a06c --- platform/firefox/vapi-client.js | 4 ++-- platform/firefox/vapi-common.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/platform/firefox/vapi-client.js b/platform/firefox/vapi-client.js index ebff517..65fccb0 100644 --- a/platform/firefox/vapi-client.js +++ b/platform/firefox/vapi-client.js @@ -28,7 +28,7 @@ /******************************************************************************/ -(function() { +(function(self) { /******************************************************************************/ @@ -211,6 +211,6 @@ if ( window !== window.top ) { /******************************************************************************/ -})(); +})(this); /******************************************************************************/ diff --git a/platform/firefox/vapi-common.js b/platform/firefox/vapi-common.js index d100a28..994045b 100644 --- a/platform/firefox/vapi-common.js +++ b/platform/firefox/vapi-common.js @@ -27,7 +27,7 @@ /******************************************************************************/ -(function() { +(function(self) { /******************************************************************************/ @@ -186,6 +186,6 @@ vAPI.localStorage.init('extensions.' + location.host + '.'); /******************************************************************************/ -})(); +})(this); /******************************************************************************/