We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6d4e37 commit 9e63a6fCopy full SHA for 9e63a6f
js/widgets/forms/textinput.js
@@ -44,7 +44,7 @@ $.widget( "mobile.textinput", {
44
45
var options = this.options,
46
isSearch = this.element.is( "[type='search'], :jqmData(type='search')" ),
47
- isTextarea = this.element[ 0 ].tagName === "TEXTAREA",
+ isTextarea = this.element[ 0 ].nodeName.toLowerCase() === "textarea",
48
isRange = this.element.is( "[data-" + ( $.mobile.ns || "" ) + "type='range']" ),
49
inputNeedsWrap = ( (this.element.is( "input" ) ||
50
this.element.is( "[data-" + ( $.mobile.ns || "" ) + "type='search']" ) ) &&
0 commit comments