From 23400a2f55f37df4101528fff92dee725ecd77f9 Mon Sep 17 00:00:00 2001 From: teramako Date: Sat, 29 Oct 2011 14:17:29 +0900 Subject: oops, fix --- tab-history.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tab-history.js') 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; } -- cgit v1.2.3