mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-07 19:34:11 +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);
|
||||
|
||||
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();
|
||||
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);
|
||||
|
||||
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;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user