Skip to content

Commit

Permalink
chore(): bumping version
Browse files Browse the repository at this point in the history
  • Loading branch information
chrum committed Mar 9, 2019
1 parent 477ecb9 commit 256815d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ngx-autosize-app",
"version": "1.5.0",
"version": "1.5.1",
"homepage": "https://chrum.it/pages/ngx-autosize",
"description": "Directive that automatically adjusts textarea height to fit content",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion projects/autosize/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ngx-autosize",
"version": "1.5.0",
"version": "1.5.1",
"homepage": "https://chrum.it/pages/ngx-autosize",
"description": "Directive that automatically adjusts textarea height to fit content",
"repository": {
Expand Down
9 changes: 4 additions & 5 deletions projects/autosize/src/lib/autosize.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,10 @@ export class AutosizeDirective implements OnDestroy, OnChanges, AfterContentChec
distinctUntilChanged()
)
.subscribe(() => {
this._zone.run(() => {
this.adjust();
});
}
);
this._zone.run(() => {
this.adjust();
});
});
});
setTimeout(() => {
this.adjust();
Expand Down

0 comments on commit 256815d

Please sign in to comment.