From f3105942c4185e149dc8330fb2d6fa7c52298d7d Mon Sep 17 00:00:00 2001 From: SHIMODA Hiroshi Date: Wed, 1 Dec 2010 10:23:54 +0900 Subject: [PATCH] fix typo --- content/treestyletab/treestyletab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/treestyletab/treestyletab.js b/content/treestyletab/treestyletab.js index f0629bea..fb7c1c26 100644 --- a/content/treestyletab/treestyletab.js +++ b/content/treestyletab/treestyletab.js @@ -1215,7 +1215,7 @@ catch(e) { document.removeEventListener(this.kEVENT_TYPE_TABBAR_STATE_CHANGED, this, false); document.removeEventListener(this.kEVENT_TYPE_FOCUS_NEXT_TAB, this, false); - this._tabFocusAllowance.each(function(aListener) { + this._tabFocusAllowance.forEach(function(aListener) { window.removeEventListener(this.kEVENT_TYPE_FOCUS_NEXT_TAB, aListener, false); }, this);