aboutsummaryrefslogtreecommitdiffstats
path: root/tab-history.js
diff options
context:
space:
mode:
authorteramako2011-10-29 14:17:29 +0900
committerteramako2011-10-29 14:17:29 +0900
commit23400a2f55f37df4101528fff92dee725ecd77f9 (patch)
tree42fc7a20393c29c0090ec1b4bcdf5c82106d5a0f /tab-history.js
parent2468178da2b050ebb507e165d4a3277e69fff290 (diff)
downloadvimperator-plugins-23400a2f55f37df4101528fff92dee725ecd77f9.tar.bz2
oops, fix
Diffstat (limited to 'tab-history.js')
-rw-r--r--tab-history.js2
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;
}