diff --git a/install.js b/install.js index 9927bb8a..770758a4 100644 --- a/install.js +++ b/install.js @@ -75,7 +75,7 @@ function sendEvent(type, detail = null) { function onInstallClicked() { - if (!orphanCheck()) { + if (!orphanCheck || !orphanCheck()) { return; } getResource(getMeta('stylish-description')) @@ -85,7 +85,7 @@ function onInstallClicked() { function onUpdateClicked() { - if (!orphanCheck()) { + if (!orphanCheck || !orphanCheck()) { return; } chrome.runtime.sendMessage({