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:
Daniel Gröber 2012-12-10 20:45:01 +01:00 committed by KLuka
parent 25921c9961
commit 6d5b639816

View file

@ -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 />') +