mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-04 12:04:12 +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.noremap = noremap;
|
||||
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 true;
|
||||
|
||||
Reference in New Issue
Block a user