X-Git-Url: https://dev.renevier.net/?p=syj.git;a=blobdiff_plain;f=public%2Fjs%2Fcontact.js;h=416d7457f4c9fb54b6c5e494410b7e853739b985;hp=e41734110f7ca7426ef60a72459c6ef2048c1147;hb=a64d41557a62ec6051d7fa08d1ba941e089aa5c2;hpb=3c4eae3c94fd2369087cd3cc73e195cbc48fc433 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(); } });