ui: Bug fix: return is needed for Edge case

Fixes #507
This commit is contained in:
Hajime Hoshi 2018-02-21 21:53:49 +09:00
parent 9f4455a65c
commit d4b8b99784

View File

@ -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)