Fix <input> element type
type="textfield" is invalid, however most browsers seem to default to type="text" so this must have been overlooked. This patch was modified to fit in our fork by @KLuka.
This commit is contained in:
parent
25921c9961
commit
6d5b639816
1 changed files with 2 additions and 2 deletions
|
@ -887,8 +887,8 @@ VT100.prototype.initializeElements = function(container) {
|
||||||
'<div class="hidden">' +
|
'<div class="hidden">' +
|
||||||
'<div id="usercss"></div>' +
|
'<div id="usercss"></div>' +
|
||||||
'<pre><div><span id="space"></span></div></pre>' +
|
'<pre><div><span id="space"></span></div></pre>' +
|
||||||
'<input type="textfield" id="input" autocorrect="off" autocapitalize="off" />' +
|
'<input type="text" id="input" autocapitalize="off" autocapitalize="off" />' +
|
||||||
'<input type="textfield" id="cliphelper" />' +
|
'<input type="text" id="cliphelper" />' +
|
||||||
(typeof suppressAllAudio != 'undefined' &&
|
(typeof suppressAllAudio != 'undefined' &&
|
||||||
suppressAllAudio ? "" :
|
suppressAllAudio ? "" :
|
||||||
embed + '<bgsound id="beep_bgsound" loop=1 />') +
|
embed + '<bgsound id="beep_bgsound" loop=1 />') +
|
||||||
|
|
Loading…
Reference in a new issue