mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-19 12:05:46 +01:00
Death to E4X and stuff.
This commit is contained in:
@@ -304,20 +304,15 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
||||
bell: document.getElementById("dactyl-bell"),
|
||||
strut: document.getElementById("dactyl-bell-strut")
|
||||
};
|
||||
XML.ignoreWhitespace = true;
|
||||
if (!elems.bell)
|
||||
overlay.overlayWindow(window, {
|
||||
objects: elems,
|
||||
prepend: <>
|
||||
<window id={document.documentElement.id} xmlns={XUL}>
|
||||
<hbox style="display: none" highlight="Bell" id="dactyl-bell" key="bell"/>
|
||||
</window>
|
||||
</>,
|
||||
append: <>
|
||||
<window id={document.documentElement.id} xmlns={XUL}>
|
||||
<hbox style="display: none" highlight="Bell" id="dactyl-bell-strut" key="strut"/>
|
||||
</window>
|
||||
</>
|
||||
prepend: [
|
||||
["window", { id: document.documentElement.id, xmlns: "xul" },
|
||||
["hbox", { style: "display: none", highlight: "Bell", id: "dactyl-bell", key: "bell" }]]],
|
||||
append: [
|
||||
["window", { id: document.documentElement.id, xmlns: "xul" },
|
||||
["hbox", { style: "display: none", highlight: "Bell", id: "dactyl-bell-strut", key: "strut" }]]]
|
||||
}, elems);
|
||||
|
||||
elems.bell.style.height = window.innerHeight + "px";
|
||||
|
||||
Reference in New Issue
Block a user