mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Merge pull request #16 from aus/master
Disable autocapitalize and autocorrect for iPad and iPhone devices
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user