From 48d26b2d474f0a7f91b0dba749272c51b471ee6a Mon Sep 17 00:00:00 2001 From: Fabian Zaremba Date: Sun, 3 May 2015 19:28:05 +0200 Subject: [PATCH] Move #keyboardinput declarations to base.css/ui.js --- include/base.css | 1 + include/ui.js | 1 + vnc.html | 3 +-- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/base.css b/include/base.css index 478b4d01..90c17e47 100644 --- a/include/base.css +++ b/include/base.css @@ -238,6 +238,7 @@ html { position: relative; left: -40px; z-index: -1; + ime-mode: disabled; } /* diff --git a/include/ui.js b/include/ui.js index 93550780..9baf40c6 100644 --- a/include/ui.js +++ b/include/ui.js @@ -185,6 +185,7 @@ var UI; $D("keyboardinput").oninput = UI.keyInput; $D("keyboardinput").onblur = UI.keyInputBlur; + $D("keyboardinput").onsubmit = function () { return false; }; $D("showExtraKeysButton").onclick = UI.showExtraKeys; $D("toggleCtrlButton").onclick = UI.toggleCtrl; diff --git a/vnc.html b/vnc.html index b8d11c70..4c4aeb1c 100644 --- a/vnc.html +++ b/vnc.html @@ -70,8 +70,7 @@ style for example --> + mozactionhint="Enter">