1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-29 13:45:47 +01:00

s/(Events.)ismacro/\1isMacro/.

This commit is contained in:
Kris Maglione
2008-09-15 22:06:35 +00:00
parent e1cbf43661
commit 19f30ff92f

View File

@@ -843,7 +843,7 @@ liberator.Events = function () //{{{
var evt = doc.createEvent("KeyEvents");
evt.initKeyEvent("keypress", true, true, view, ctrl, alt, shift, meta, keyCode, charCode);
evt.noremap = noremap;
evt.ismacro = true;
evt.isMacro = true;
elem.dispatchEvent(evt);
// stop feeding keys if page loading failed
if (!liberator.modes.isReplaying)
@@ -1144,7 +1144,7 @@ liberator.Events = function () //{{{
if (liberator.modes.isReplaying)
{
// XXX: Prevents using <C-c> in a macro.
if (key == "<C-c>" && !event.ismacro)
if (key == "<C-c>" && !event.isMacro)
{
liberator.modes.isReplaying = false;
liberator.echo("Canceled playback of macro '" + lastMacro + "'");