mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-09 13:54:12 +01:00
Use separate tab bindings for OS-X. Someone please test this.
This commit is contained in:
@@ -216,9 +216,10 @@ function Tabs() //{{{
|
||||
},
|
||||
validator: Option.validateCompleter
|
||||
});
|
||||
let fragment = liberator.has("MacUnix") ? "tab-mac" : "tab";
|
||||
// TODO: Add option, or only apply when go~=[nN]
|
||||
styles.addSheet("tab-binding", "chrome://browser/content/browser.xul",
|
||||
".tabbrowser-tab { -moz-binding: url(chrome://liberator/content/bindings.xml#tab) !important; }", true);
|
||||
".tabbrowser-tab { -moz-binding: url(chrome://liberator/content/bindings.xml#" + fragment + ") !important; }", true);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user