X-Git-Url: https://dev.renevier.net/gitweb.cgi?a=blobdiff_plain;f=public%2Fjs%2Fcontact.js;h=416d7457f4c9fb54b6c5e494410b7e853739b985;hb=ec061a75fe57a25eb7ef0894f5e723397ba35472;hp=e41734110f7ca7426ef60a72459c6ef2048c1147;hpb=4360d632b91c3e17a776bc9308eba3a3915f7005;p=syj.git diff --git a/public/js/contact.js b/public/js/contact.js index e417341..416d745 100644 --- a/public/js/contact.js +++ b/public/js/contact.js @@ -25,8 +25,7 @@ document.observe("dom:loaded", function() { * if there are errors, cancel submission */ if (errorElements.length) { - errorElements[0].highlight('#F08080').focus(); - errorElements[0].select(); + errorElements[0].highlight('#F08080').activate(); evt.stop(); } });