typo fix: && || ternary

pull/3083/head
Graham Fenner 2023-11-07 03:36:30 +00:00
parent dd96e33774
commit af06a96bac
1 changed files with 1 additions and 1 deletions

View File

@ -922,7 +922,7 @@ function showTouchscreenCalibration() {
}
showTapSpot();
}
Bangle.prependListener&&Bangle.prependListener('touch',touchHandler)||Bangle.on('touch',touchHandler);
Bangle.prependListener?Bangle.prependListener('touch',touchHandler):Bangle.on('touch',touchHandler);
showTapSpot();
}