mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-03 01:14:13 +01:00
Move overlay magic from util to overlay module.
This commit is contained in:
@@ -40,7 +40,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
||||
styles.registerSheet("resource://dactyl-skin/dactyl.css");
|
||||
|
||||
this.cleanups = [];
|
||||
this.cleanups.push(util.overlayObject(window, {
|
||||
this.cleanups.push(overlay.overlayObject(window, {
|
||||
focusAndSelectUrlBar: function focusAndSelectUrlBar() {
|
||||
switch (options.get("strictfocus").getKey(document.documentURIObject || util.newURI(document.documentURI), "moderate")) {
|
||||
case "laissez-faire":
|
||||
@@ -305,7 +305,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
||||
};
|
||||
XML.ignoreWhitespace = true;
|
||||
if (!elems.bell)
|
||||
util.overlayWindow(window, {
|
||||
overlay.overlayWindow(window, {
|
||||
objects: elems,
|
||||
prepend: <>
|
||||
<window id={document.documentElement.id} xmlns={XUL}>
|
||||
|
||||
Reference in New Issue
Block a user