1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-09 08:44:10 +01:00

Re-enable tab numbers of FF36.

This commit is contained in:
Kris Maglione
2010-12-26 20:45:03 -05:00
parent 467d193694
commit 8c64d0ec44
9 changed files with 84 additions and 18 deletions

View File

@@ -176,6 +176,8 @@ var CommandWidgets = Class("CommandWidgets", {
let elem = document.getElementById("dactyl-multiline-output");
elem.contentWindow.addEventListener("unload", function (event) { event.preventDefault(); }, true);
elem.contentDocument.body.id = "dactyl-multiline-output-content";
elem.__defineGetter__("atEnd", function ()
!Buffer.isScrollable(elem.contentDocument.documentElement, 1));
["copy", "copylink", "selectall"].forEach(function (tail) {
// some host apps use "hostPrefixContext-copy" ids
let xpath = "//xul:menuitem[contains(@id, '" + "ontext-" + tail + "') and not(starts-with(@id, 'dactyl-'))]";