From: Wilmer Ricciotti Date: Wed, 13 Jul 2011 15:08:07 +0000 (+0000) Subject: more keyboard events tests. X-Git-Tag: make_still_working~2383 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=a5af42bf739ea484696eaf5163c24b781ef8cbf3;p=helm.git more keyboard events tests. --- 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);