Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fix(input): textarea with rows provided will no longer throw an error
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Messerle committed Aug 3, 2015
1 parent c93ba5c commit e38a2c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/input/input.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ function inputTextareaDirective($mdUtil, $window, $mdAria) {
if(!lineHeight) {
node.style.minHeight = '0';

lineHeight = element.height();
lineHeight = element.prop('clientHeight');

node.style.minHeight = null;
}
Expand Down

0 comments on commit e38a2c8

Please sign in to comment.