Selaa lähdekoodia

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 vuotta sitten
vanhempi
commit
eeda79d3c3
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  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">