diff options
author | teramako | 2011-02-11 00:15:19 +0900 |
---|---|---|
committer | teramako | 2011-02-11 00:15:19 +0900 |
commit | 412d7c8279883ed399d11bdc19b279d25ba89a75 (patch) | |
tree | eafa4d315de49e386fb4035a201ba906f5a7182a | |
parent | df3e98a4404997b7c7ebc7bc2fd2b1f2110d8971 (diff) | |
download | vimperator-plugins-412d7c8279883ed399d11bdc19b279d25ba89a75.tar.bz2 |
fix:bug on Firefox3.6
-rw-r--r-- | inspector.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inspector.js b/inspector.js index bf4bb6f..dac4b4c 100644 --- a/inspector.js +++ b/inspector.js @@ -28,8 +28,8 @@ let INFO = </plugin>; -const inspectorID = "inspector@mozilla.org"; -if (AddonManager) { +var inspectorID = "inspector@mozilla.org"; +if (window.AddonManager) { AddonManager.getAddonByID(inspectorID, function(ext){ if (ext.isActive) init(); |