From 412d7c8279883ed399d11bdc19b279d25ba89a75 Mon Sep 17 00:00:00 2001 From: teramako Date: Fri, 11 Feb 2011 00:15:19 +0900 Subject: fix:bug on Firefox3.6 --- inspector.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'inspector.js') diff --git a/inspector.js b/inspector.js index bf4bb6f..dac4b4c 100644 --- a/inspector.js +++ b/inspector.js @@ -28,8 +28,8 @@ let INFO = ; -const inspectorID = "inspector@mozilla.org"; -if (AddonManager) { +var inspectorID = "inspector@mozilla.org"; +if (window.AddonManager) { AddonManager.getAddonByID(inspectorID, function(ext){ if (ext.isActive) init(); -- cgit v1.2.3