From a5af42bf739ea484696eaf5163c24b781ef8cbf3 Mon Sep 17 00:00:00 2001 From: Wilmer Ricciotti Date: Wed, 13 Jul 2011 15:08:07 +0000 Subject: [PATCH] more keyboard events tests. --- matitaB/matita/matitaweb.js | 1 + 1 file changed, 1 insertion(+) diff --git a/matitaB/matita/matitaweb.js b/matitaB/matita/matitaweb.js index 1bebb6d30..a03858ae7 100644 --- a/matitaB/matita/matitaweb.js +++ b/matitaB/matita/matitaweb.js @@ -122,6 +122,7 @@ function keypress(e) post = unlocked.innerHTML.substring(j); if (match == '\\to') { unlocked.innerHTML = pre + "-> " + post; + unlocked.focus(); return suppressdefault(e,true); } else return suppressdefault(e,false); -- 2.39.2