fix focus to blur

This commit is contained in:
Silver Kuusik
2018-04-08 20:54:02 +03:00
committed by GitHub
parent 47336279a4
commit ee2a292e35

View File

@@ -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 */