Merge pull request #16 from aus/master

Disable autocapitalize and autocorrect for iPad and iPhone devices
This commit is contained in:
Christopher Jeffrey
2013-12-22 18:44:05 -08:00
+2
View File
@@ -612,6 +612,8 @@ Terminal.fixIpad = function(document) {
textarea.style.backgroundColor = 'transparent';
textarea.style.borderStyle = 'none';
textarea.style.outlineStyle = 'none';
textarea.autocapitalize='none';
textarea.autocorrect='off';
document.getElementsByTagName('body')[0].appendChild(textarea);