Skip to content

Commit

Permalink
style(tslint): fixed linting error for new check-else rule
Browse files Browse the repository at this point in the history
fixed linting error for new check-else rule
  • Loading branch information
danbucholtz committed Jun 15, 2016
1 parent 41ecfdc commit 3e451cc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/app/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 3e451cc

Please sign in to comment.