mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 15:02:26 +01:00
Cherry pick 5digits/dactyl#178
Fix `TypeError: options is undefined` When open a new window and close it, then press `gg` in the original window will throw `TypeError: options is undefined`.
This commit is contained in:
@@ -2069,13 +2069,6 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
||||
statusline.update();
|
||||
dactyl.log(_("dactyl.initialized", config.appName), 0);
|
||||
dactyl.initialized = true;
|
||||
|
||||
util.delay(() => {
|
||||
if (services.focus.activeWindow === window)
|
||||
overlay.activeWindow = window;
|
||||
|
||||
util.flushLateMethods(dactyl);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user