Skip to content

Commit 0d531d2

Browse files
committed
2.5.18
1 parent a0db65d commit 0d531d2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: elastic.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ angular.module('monospaced.elastic', [])
217217
maxHeight = scope.maxHeight;
218218
}
219219
if (attrs.ngModel) {
220-
return ngModel.$modelValue;
220+
return ngModel ? ngModel.$modelValue : null;
221221
} else {
222222
return scope.$eval(attrs.thyModel);
223223
}

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-elastic",
3-
"version": "2.5.17",
3+
"version": "2.5.18",
44
"description": "Elastic (autosize) textareas for AngularJS, without jQuery dependency.",
55
"keywords": [
66
"angular",

0 commit comments

Comments
 (0)