From ee2a292e35f3ed062d74c00c4c49608f73aed0f8 Mon Sep 17 00:00:00 2001 From: Silver Kuusik Date: Sun, 8 Apr 2018 20:54:02 +0300 Subject: [PATCH] fix focus to blur --- assets/js/sumorobot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */