mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-21 20:15:46 +01:00
Fix some :buffer completion issues.
This commit is contained in:
@@ -1627,7 +1627,7 @@ var Buffer = Module("buffer", {
|
||||
return {
|
||||
text: [i + ": " + (tab.label || /*L*/"(Untitled)"), i + ": " + url],
|
||||
tab: tab,
|
||||
id: i - 1,
|
||||
id: i,
|
||||
url: url,
|
||||
icon: tab.image || DEFAULT_FAVICON
|
||||
};
|
||||
|
||||
@@ -32,7 +32,7 @@ var Tabs = Module("tabs", {
|
||||
false, true);
|
||||
|
||||
dactyl.commands["tabs.select"] = function (event) {
|
||||
tabs.select(event.originalTarget.getAttribute("identifier"));
|
||||
tabs.switchTo(event.originalTarget.getAttribute("identifier"));
|
||||
};
|
||||
|
||||
this.tabBinding = styles.system.add("tab-binding", "chrome://browser/content/browser.xul", String.replace(<><![CDATA[
|
||||
|
||||
Reference in New Issue
Block a user