MCPcopy Index your code
hub / github.com/DHTMLX/gantt / disableBrowserMagic

Function disableBrowserMagic

samples/common/codehighlight/codemirror.js:8197–8201  ·  view source on GitHub ↗
(field, spellcheck, autocorrect, autocapitalize)

Source from the content-addressed store, hash-verified

8195 }
8196
8197 function disableBrowserMagic(field, spellcheck, autocorrect, autocapitalize) {
8198 field.setAttribute("autocorrect", autocorrect ? "" : "off");
8199 field.setAttribute("autocapitalize", autocapitalize ? "" : "off");
8200 field.setAttribute("spellcheck", !!spellcheck);
8201 }
8202
8203 function hiddenTextarea() {
8204 var te = elt("textarea", null, null, "position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none");

Callers 2

hiddenTextareaFunction · 0.85
codemirror.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected