Skip to content

Commit

Permalink
Move #keyboardinput declarations to base.css/ui.js
Browse files Browse the repository at this point in the history
  • Loading branch information
fabian-z committed May 4, 2015
1 parent 8ce27dd commit 48d26b2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions include/base.css
Expand Up @@ -238,6 +238,7 @@ html {
position: relative;
left: -40px;
z-index: -1;
ime-mode: disabled;
}

/*
Expand Down
1 change: 1 addition & 0 deletions include/ui.js
Expand Up @@ -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;
Expand Down
3 changes: 1 addition & 2 deletions vnc.html
Expand Up @@ -70,8 +70,7 @@
style for example -->
<textarea id="keyboardinput" autocapitalize="off"
autocorrect="off" autocomplete="off" spellcheck="false"
mozactionhint="Enter" onsubmit="return false;"
style="ime-mode: disabled;"></textarea>
mozactionhint="Enter"></textarea>
<div id="noVNC_extra_keys">
<input type="image" alt="Extra keys" src="images/showextrakeys.png"
id="showExtraKeysButton" class="noVNC_status_button">
Expand Down

0 comments on commit 48d26b2

Please sign in to comment.