diff --git a/overrides.js b/overrides.js index b552ecc..cb173c7 100644 --- a/overrides.js +++ b/overrides.js @@ -7,7 +7,7 @@ function checkLoc() { var sUsr = document.getElementById("txtTRG_User").value; if (sLoc.length == 0) { alert("You need to enter a location."); - document.all["txtTRG_Loc"].focus(); + sLoc.focus(); } else { if (sUsr.length == 0) { //alert("We suck at writing proper code.");