From 3e451cce67ff3fb4061a002ffc4f97f007c162d8 Mon Sep 17 00:00:00 2001 From: Dan Bucholtz Date: Tue, 14 Jun 2016 22:34:53 -0500 Subject: [PATCH] style(tslint): fixed linting error for new check-else rule fixed linting error for new check-else rule --- src/components/app/app.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/app/app.ts b/src/components/app/app.ts index a0f4753b01..4e574f4f32 100644 --- a/src/components/app/app.ts +++ b/src/components/app/app.ts @@ -60,8 +60,7 @@ export class App { if ( isEnabled || duration <= 32 ) { // disable the click block if it's enabled, or the duration is tiny this._clickBlock.show(false, 0); - } - else { + } else { // show the click block for duration + some number this._clickBlock.show(true, duration + CLICK_BLOCK_BUFFER_IN_MILLIS); }