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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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