* wrap/python/ajax/ltl2tgba.html: Add focus on the formula field

on page load.
This commit is contained in:
Alexandre Duret-Lutz 2011-06-09 14:51:45 +02:00
parent d3ccaa7cb9
commit 8059047b21
2 changed files with 6 additions and 1 deletions

View file

@ -105,7 +105,7 @@
$("#send").click(updateResults);
$("input,select").change(autoUpdate);
$('input[name="f"]').attr('spellcheck', false)
$('input[name="f"]').attr('spellcheck', false).focus()
.keydown(function(e){
if (e.keyCode == 13)
updateResults();