Skip to content

Commit

Permalink
minor style updates
Browse files Browse the repository at this point in the history
  • Loading branch information
peilingjiang committed Jul 9, 2024
1 parent 6819f54 commit 9146702
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/RemoteCalibrator.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/RemoteCalibrator.min.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion src/distance/distanceNudge.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,13 @@ RemoteCalibrator.prototype.nudgeDistance = function (
guideNumDesired.innerHTML = Math.round(
this._distanceTrackNudging.distanceDesired,
)

if (
this._distanceTrackNudging.needEasyEyesKeypadBeyondCm &&
this._distanceTrackNudging.distanceDesired >
this._distanceTrackNudging.needEasyEyesKeypadBeyondCm
) {
canUseKeypad.innerHTML = ' ' + phrases.RC_canUsePhoneKeypad[this.L]
canUseKeypad.innerHTML = ` ${phrases.RC_canUsePhoneKeypad[this.L]}`
} else {
canUseKeypad.innerHTML = ''
}
Expand Down

0 comments on commit 9146702

Please sign in to comment.