forked from marva/sumorobot-web
fix focus to blur
This commit is contained in:
parent
47336279a4
commit
ee2a292e35
@ -530,7 +530,7 @@ window.onload = function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
/* when robot-id input field gets unfocused */
|
/* 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 the robot-id input value is the previously set "sumo-" */
|
||||||
if ($("#robot-id").val() === "sumo-") {
|
if ($("#robot-id").val() === "sumo-") {
|
||||||
/* remove the value */
|
/* remove the value */
|
||||||
|
Loading…
Reference in New Issue
Block a user