From 256815dc10281b3be22e0022e15851cf7d3a4817 Mon Sep 17 00:00:00 2001 From: chrystian Date: Sat, 9 Mar 2019 16:33:29 +0100 Subject: [PATCH] chore(): bumping version --- package.json | 2 +- projects/autosize/package.json | 2 +- projects/autosize/src/lib/autosize.directive.ts | 9 ++++----- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 7ba932a..0aaa0cb 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/projects/autosize/package.json b/projects/autosize/package.json index 6293143..dcbad82 100644 --- a/projects/autosize/package.json +++ b/projects/autosize/package.json @@ -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": { diff --git a/projects/autosize/src/lib/autosize.directive.ts b/projects/autosize/src/lib/autosize.directive.ts index e64d731..2e16d89 100644 --- a/projects/autosize/src/lib/autosize.directive.ts +++ b/projects/autosize/src/lib/autosize.directive.ts @@ -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();