mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-15 06:53:32 +01:00
allow user mappings on page load again (thanks trapezoid!)
This commit is contained in:
@@ -783,7 +783,8 @@ liberator.Events = function () //{{{
|
|||||||
evt.initKeyEvent("keypress", true, true, view, ctrl, alt, shift, meta, keyCode, charCode);
|
evt.initKeyEvent("keypress", true, true, view, ctrl, alt, shift, meta, keyCode, charCode);
|
||||||
evt.noremap = noremap;
|
evt.noremap = noremap;
|
||||||
elem.dispatchEvent(evt)
|
elem.dispatchEvent(evt)
|
||||||
if (!waitForPageLoaded()) // stop feeding keys if page loading failed
|
// stop feeding keys if page loading failed
|
||||||
|
if (liberator.modes.isReplaying && !waitForPageLoaded())
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user