1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 20:12:27 +01:00

Fix tabs.switchTo for string argument.

This commit is contained in:
Kris Maglione
2010-09-26 08:03:10 -04:00
parent fec1d7a139
commit 31453e6b2a

View File

@@ -471,7 +471,7 @@ const Tabs = Module("tabs", {
} }
if (url.indexOf(buffer) >= 0 || title.indexOf(lowerBuffer) >= 0) if (url.indexOf(buffer) >= 0 || title.indexOf(lowerBuffer) >= 0)
matches.push(index); matches.push(browser);
} }
if (matches.length == 0) if (matches.length == 0)