mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-11 10:25:45 +01:00
Don't treat <C-c> specially in pass-through mode. Closes issue #160.
--HG-- extra : rebase_source : 95b34d6df9705042fca26aeaf63f51d57131458b
This commit is contained in:
@@ -317,8 +317,6 @@ const Editor = Module("editor", {
|
||||
}
|
||||
|
||||
update(true);
|
||||
if (textBox)
|
||||
textBox.removeAttribute("readonly");
|
||||
|
||||
}, this);
|
||||
if (res == false)
|
||||
@@ -328,9 +326,13 @@ const Editor = Module("editor", {
|
||||
// Errors are unlikely, and our error messages won't
|
||||
// likely be any more helpful than that given in the
|
||||
// exception.
|
||||
dactyl.echoerr(e);
|
||||
dactyl.reportError(e, true);
|
||||
tmpBg = "red";
|
||||
}
|
||||
finally {
|
||||
if (textBox)
|
||||
textBox.removeAttribute("readonly");
|
||||
}
|
||||
|
||||
// blink the textbox after returning
|
||||
if (textBox) {
|
||||
|
||||
Reference in New Issue
Block a user