mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +08:00
style(tslint): fixed linting error for new check-else rule
fixed linting error for new check-else rule
This commit is contained in:
@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user