diff --git a/assets/js/sumorobot.js b/assets/js/sumorobot.js index 37ed4df..f2e144c 100755 --- a/assets/js/sumorobot.js +++ b/assets/js/sumorobot.js @@ -530,7 +530,7 @@ window.onload = function() { }); /* when robot-id input field gets unfocused */ - $("#robot-id").focus(function() { + $("#robot-id").blur(function() { /* if the robot-id input value is the previously set "sumo-" */ if ($("#robot-id").val() === "sumo-") { /* remove the value */