* wrap/python/ajax/ltl2tgba.html: Disable the browser spellcheck

on the input box.
This commit is contained in:
Alexandre Duret-Lutz 2011-01-19 08:44:33 +01:00
parent 34f49a8692
commit c7f3bd5111
2 changed files with 7 additions and 1 deletions

View file

@ -96,7 +96,8 @@
$("#send").click(updateResults);
$("input,select").change(autoUpdate);
$('input[name="f"]').keydown(function(e){
$('input[name="f"]').attr('spellcheck', false)
.keydown(function(e){
if (e.keyCode == 13 && !$("#autoupdate").attr("checked"))
updateResults();
});