aboutsummaryrefslogtreecommitdiffstats
path: root/migemo-find.js
diff options
context:
space:
mode:
authorhogelog2009-05-13 01:36:23 +0000
committerhogelog2009-05-13 01:36:23 +0000
commit29438b598c22e408e1cc1f16f1869702cd9ffbf3 (patch)
tree2e5aa460c7424c552fbf9204e7441c3d5b6a7b3a /migemo-find.js
parent7246e12ffaeccac8f40217e8a8ed72226002aa89 (diff)
downloadvimperator-plugins-29438b598c22e408e1cc1f16f1869702cd9ffbf3.tar.bz2
* follow HEAD
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@33274 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'migemo-find.js')
-rw-r--r--migemo-find.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/migemo-find.js b/migemo-find.js
index 94e19ed..33d935d 100644
--- a/migemo-find.js
+++ b/migemo-find.js
@@ -52,6 +52,10 @@ liberator.plugins.migemoFind = (function() {
return;
}
+ // for 2.1pre
+ if (typeof search == "undefined") {
+ search = finder;
+ }
search.migemo = XMigemoFind.wrappedJSObject;
search.migemo.target = window.gBrowser;