From f954b5da2a9a5960d7c9563522f1ac0b2c10f96c Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 22 May 2018 09:42:05 +0200 Subject: Fix change detection in app component --- client/src/app/shared/misc/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/app/shared') diff --git a/client/src/app/shared/misc/utils.ts b/client/src/app/shared/misc/utils.ts index 79c93c1b3..727e33935 100644 --- a/client/src/app/shared/misc/utils.ts +++ b/client/src/app/shared/misc/utils.ts @@ -98,7 +98,7 @@ function lineFeedToHtml (obj: object, keyToNormalize: string) { // Try to cache a little bit window.innerWidth let windowInnerWidth = window.innerWidth -setInterval(() => windowInnerWidth = window.innerWidth, 500) +// setInterval(() => windowInnerWidth = window.innerWidth, 500) function isInSmallView () { return windowInnerWidth < 600 -- cgit v1.2.3