From 83e6bf38bdf748f5a7e97373cf75eee9b289d638 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Wed, 21 Feb 2018 21:53:49 +0900 Subject: [PATCH] ui: Bug fix: return is needed for Edge case Fixes #507 --- internal/ui/ui_js.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/ui/ui_js.go b/internal/ui/ui_js.go index aba1d924b..c8c7b76c7 100644 --- a/internal/ui/ui_js.go +++ b/internal/ui/ui_js.go @@ -288,6 +288,7 @@ func initialize() error { // Assume that UA is Edge. code := e.Get("keyCode").Int() currentInput.keyUpEdge(code) + return } code := e.Get("code").String() currentInput.keyUp(code)