diff options
Diffstat (limited to 'auto_detect_link.js')
-rw-r--r-- | auto_detect_link.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/auto_detect_link.js b/auto_detect_link.js index f742793..6e02af2 100644 --- a/auto_detect_link.js +++ b/auto_detect_link.js @@ -3,10 +3,10 @@ var PLUGIN_INFO = <name>Auto Detect Link</name> <description>Find (next|previous) link, and jump.</description> <description lang="ja">(次|前)っぽいページへのリンクを探してジャンプ</description> - <version>1.8</version> + <version>1.8.1</version> <author mail="anekos@snca.net" homepage="http://d.hatena.ne.jp/nokturnalmortum/">anekos</author> <minVersion>2.0pre</minVersion> - <maxVersion>2.0pre</maxVersion> + <maxVersion>2.2pre</maxVersion> <updateURL>http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/auto_detect_link.js</updateURL> <license document="http://creativecommons.org/licenses/by-sa/3.0/"> Creative Commons Attribution-Share Alike 3.0 Unported @@ -247,7 +247,7 @@ var PLUGIN_INFO = while (file && (dm = file.match(/\d+/))) { let [rcontext, lcontext, lmatch] = [RegExp.rightContext, RegExp.leftContext, RegExp.lastMatch]; left += lcontext; - succNumber(lmatch, next, ignoreId).forEach(function (succ) { + succNumber(lmatch, next, ignoreId).reverse().forEach(function (succ) { temp.push(dir + left + succ + rcontext); }); left += lmatch; |