1
0
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:
Kris Maglione
2011-02-14 04:28:07 -05:00
parent d09d5c7e41
commit 7eb6761dbe
2 changed files with 2 additions and 2 deletions

View File

@@ -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))) {

View File

@@ -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;
},