mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 05:37:58 +01:00
Some minor cleanup and fixes.
This commit is contained in:
@@ -432,7 +432,7 @@ const Tabs = Module("tabs", {
|
||||
if (matches)
|
||||
return tabs.select(this.allTabs[parseInt(matches[1], 10) - 1], false);
|
||||
|
||||
matches = array.nth(tabs.allTabs, function (t) t.linkedBrowser.lastURI.spec === buffer, 0);
|
||||
matches = array.nth(tabs.allTabs, function (t) (t.linkedBrowser.lastURI || {}).spec === buffer, 0);
|
||||
if (matches)
|
||||
return tabs.select(matches, false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user