Update src/devtools/index.js
Co-Authored-By: cn894 <c.naoto.at@outlook.com>
This commit is contained in:
Родитель
3369032f54
Коммит
b632f2b0ca
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче