From b632f2b0ca1ad3c7a98035775d7f5b1e1f3145b6 Mon Sep 17 00:00:00 2001 From: Ka-wai Wong Date: Wed, 23 Jan 2019 11:31:24 -0800 Subject: [PATCH] Update src/devtools/index.js Co-Authored-By: cn894 --- src/devtools/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devtools/index.js b/src/devtools/index.js index f9177bd..2e51aae 100644 --- a/src/devtools/index.js +++ b/src/devtools/index.js @@ -35,7 +35,7 @@ function createPanel () { * @param {evalCallback} callback - The callback that handles the response. */ function checkMezzurite (callback) { - const expression = `!!window.mezzurite`; + const expression = `window.mezzurite != null`; chrome.devtools.inspectedWindow.eval(expression, callback); }