From ef7bec2d280ac14f18b53042a2f72fc51556f733 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 22 Feb 2014 22:47:58 -0500 Subject: [PATCH] Fix _isChromeExtension to test for testing 'undefined'. --- core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core.js b/core.js index b63c5de..189b082 100644 --- a/core.js +++ b/core.js @@ -227,5 +227,5 @@ SkeletonKey.prototype._initChromeExtension = function() { * @private */ SkeletonKey.prototype._isChromeExtension = function() { - return typeof chrome !== undefined && typeof chrome.extension !== undefined; + return typeof chrome !== 'undefined' && typeof chrome.tabs !== 'undefined'; }; -- 2.43.5