diff options
author | teramako | 2011-10-29 14:17:29 +0900 |
---|---|---|
committer | teramako | 2011-10-29 14:17:29 +0900 |
commit | 23400a2f55f37df4101528fff92dee725ecd77f9 (patch) | |
tree | 42fc7a20393c29c0090ec1b4bcdf5c82106d5a0f /tab-history.js | |
parent | 2468178da2b050ebb507e165d4a3277e69fff290 (diff) | |
download | vimperator-plugins-23400a2f55f37df4101528fff92dee725ecd77f9.tar.bz2 |
oops, fix
Diffstat (limited to 'tab-history.js')
-rw-r--r-- | tab-history.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tab-history.js b/tab-history.js index ff5b33b..e6d61c3 100644 --- a/tab-history.js +++ b/tab-history.js @@ -72,7 +72,7 @@ var tabHistory = (function(){ currentTab = history[i]; if (prevTab === currentTab) { - history.splice(i, 1); + history.splice(i--, 1); if (i <= index) --index; } |