forked from marva/sumorobot-web
fix focus to blur
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user