瀏覽代碼

Changing the type of the keyboardinput element to textarea, fixes issue 356.
* The on-screen keyboard not closing when pressing Enter is more important than not having textsuggestions etc.

samhed 11 年之前
父節點
當前提交
eeda79d3c3
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      vnc.html

+ 2 - 2
vnc.html

@@ -67,10 +67,10 @@
                 <!-- There is a problem with the "Enter"-key on Android in Chrome,
                 <!-- There is a problem with the "Enter"-key on Android in Chrome,
                      when pressed the on screen keyboard is closed, this could be
                      when pressed the on screen keyboard is closed, this could be
                      fixed if Chrome implemented the ime-mode style for example -->
                      fixed if Chrome implemented the ime-mode style for example -->
-                <input type="password" id="keyboardinput" autocapitalize="off"
+                <textarea id="keyboardinput" autocapitalize="off"
                     autocorrect="off" autocomplete="off" spellcheck="false"
                     autocorrect="off" autocomplete="off" spellcheck="false"
                     mozactionhint="Enter" onsubmit="return false;"
                     mozactionhint="Enter" onsubmit="return false;"
-                    style="ime-mode: disabled;">
+                    style="ime-mode: disabled;"></textarea>
                 <div id="noVNC_extra_keys">
                 <div id="noVNC_extra_keys">
                     <input type="image" alt="Extra keys" src="images/showextrakeys.png"
                     <input type="image" alt="Extra keys" src="images/showextrakeys.png"
                         id="showExtraKeysButton" class="noVNC_status_button">
                         id="showExtraKeysButton" class="noVNC_status_button">