Skip to content

Commit ca8040b

Browse files
committed
Address feedback
1 parent 5bb0536 commit ca8040b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/input/input-container.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ export class MdInputDirective implements AfterContentInit {
193193
/** Determines if the component host is a textarea. If not recognizable it returns false. */
194194
private _isTextarea() {
195195
let nativeElement = this._elementRef.nativeElement;
196-
return nativeElement ? nativeElement.nodeName === 'textarea' : 'input';
196+
return nativeElement ? nativeElement.nodeName.toLowerCase() === 'textarea' : false;
197197
}
198198
}
199199

0 commit comments

Comments
 (0)