Skip to content

Commit 42a913d

Browse files
committed
Show "Choose one" only if multiple choices are present
1 parent c379352 commit 42a913d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/fpsCalculator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ function calculateFPS() {
107107

108108
results.innerHTML = `
109109
<div class="card card-basic">
110-
<p>Recommended FPS ${usableDivisors.length === 1 ? 'Limit' : 'Limits'}: ${recommendations} (choose one)</p>
110+
<p>Recommended FPS ${usableDivisors.length === 1 ? 'Limit' : 'Limits'}: ${recommendations} ${usableDivisors.length === 1 ? '' : '(choose one)'}</p>
111111
</div>
112112
<div class="card card-red">
113113
<p>

0 commit comments

Comments
 (0)