From 31453e6b2a8e623c4b77db16b60ecfdaf7f73a86 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Sun, 26 Sep 2010 08:03:10 -0400 Subject: [PATCH] Fix tabs.switchTo for string argument. --- common/content/tabs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/content/tabs.js b/common/content/tabs.js index 31d24e26..4b73e768 100644 --- a/common/content/tabs.js +++ b/common/content/tabs.js @@ -471,7 +471,7 @@ const Tabs = Module("tabs", { } if (url.indexOf(buffer) >= 0 || title.indexOf(lowerBuffer) >= 0) - matches.push(index); + matches.push(browser); } if (matches.length == 0)