style(tslint): fixed linting error for new check-else rule

fixed linting error for new check-else rule
This commit is contained in:
Dan Bucholtz
2016-06-14 22:34:53 -05:00
parent 41ecfdc4ae
commit 3e451cce67

View File

@ -60,8 +60,7 @@ export class App {
if ( isEnabled || duration <= 32 ) { if ( isEnabled || duration <= 32 ) {
// disable the click block if it's enabled, or the duration is tiny // disable the click block if it's enabled, or the duration is tiny
this._clickBlock.show(false, 0); this._clickBlock.show(false, 0);
} } else {
else {
// show the click block for duration + some number // show the click block for duration + some number
this._clickBlock.show(true, duration + CLICK_BLOCK_BUFFER_IN_MILLIS); this._clickBlock.show(true, duration + CLICK_BLOCK_BUFFER_IN_MILLIS);
} }