diff options
author | Patrick Simianer <p@simianer.de> | 2016-06-08 15:47:54 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2016-06-08 15:47:54 +0200 |
commit | c581250bc80e6bdd9ca5e8755b13904ea5b02eb2 (patch) | |
tree | de1f08445324e58c581502050779e7c598b89ed3 | |
parent | 9f37d60789d3a3101c7634eb7baba3acdcc54e66 (diff) |
interface: don't send on enter, reset doesn't reset counts
-rw-r--r-- | js/interface.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/js/interface.js b/js/interface.js index 4c9685d..ceed474 100644 --- a/js/interface.js +++ b/js/interface.js @@ -105,7 +105,7 @@ var catch_return = function (e) { if (e.keyCode == 13) { e.preventDefault(); - next(); + //next(); } return false; @@ -398,7 +398,7 @@ var request_and_process_next = function () if (data["fin"]) { target_textarea.setAttribute("disabled", "disabled"); status.style.display = "none"; - button.innerHTML = "---"; + //button.innerHTML = "-----"; $("#view_summary").toggle() $("#raw_source_textarea").html(""); $("#target_textarea").val(""); @@ -542,11 +542,11 @@ var reset = function () var ui_type = get_ui_type(); if (ui_type == "t") { if (!$("#init").val()) return; - TEXT_count_click = 0; - TEXT_count_kbd = 0; + //TEXT_count_click = 0; + //TEXT_count_kbd = 0; $("#target_textarea").val($("#original_mt").val()); } else if (ui_type == "g") { - DE_init() + DE_init(false) } } |