1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 06:07:59 +01:00

Replace spurious modes.replace call that Doug, er, warned be about before I committed it.

--HG--
branch : mode-refactoring
This commit is contained in:
Kris Maglione
2010-10-09 02:26:12 -04:00
parent fbba50e267
commit a682373e27
2 changed files with 5 additions and 3 deletions

View File

@@ -701,7 +701,7 @@ const Editor = Module("editor", {
function (count) {
dactyl.assert(editor.isTextEdit);
editor.executeCommand("cmd_cut");
modes.replace(modes.INSERT, modes.TEXT_EDIT);
modes.push(modes.INSERT);
});
mappings.add([modes.VISUAL],