mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-12 08:05:46 +01:00
Hack to get rid of error on switching to/from fullscreen.
This commit is contained in:
@@ -142,7 +142,7 @@ var AutoCommands = Module("autocommands", {
|
|||||||
dactyl.echomsg('Executing ' + event + ' Auto commands for "*"', 8);
|
dactyl.echomsg('Executing ' + event + ' Auto commands for "*"', 8);
|
||||||
|
|
||||||
let lastPattern = null;
|
let lastPattern = null;
|
||||||
let uri = args.url ? util.newURI(args.url) : buffer.uri;
|
let uri = args.url ? util.createURI(args.url) : buffer.uri;
|
||||||
|
|
||||||
event = event.toLowerCase();
|
event = event.toLowerCase();
|
||||||
for (let hive in values(this.matchingHives(uri))) {
|
for (let hive in values(this.matchingHives(uri))) {
|
||||||
|
|||||||
@@ -983,7 +983,7 @@ var Events = Module("events", {
|
|||||||
util.waitFor(function () !events.feedingKeys || buffer.loaded, this, maxWaitTime * 1000, true);
|
util.waitFor(function () !events.feedingKeys || buffer.loaded, this, maxWaitTime * 1000, true);
|
||||||
|
|
||||||
if (!buffer.loaded)
|
if (!buffer.loaded)
|
||||||
dactyl.echoerr("Page did not load completely in " + maxWaitTime + " seconds. Macro stopped.");
|
dactyl.echoerr("Page did not load completely in " + maxWaitTime + " seconds.");
|
||||||
|
|
||||||
return buffer.loaded;
|
return buffer.loaded;
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user