summaryrefslogtreecommitdiff
path: root/js/App.js
diff options
context:
space:
mode:
authorsupahgreg <supahgreg@users.noreply.github.com>2025-10-14 16:13:55 +0000
committersupahgreg <supahgreg@users.noreply.github.com>2025-10-14 16:13:55 +0000
commite0e0a0fab0244ee1b44c155518b7c647bc7ef014 (patch)
tree916a27a787abb9679ff7a8f4b49fc27c702e8d89 /js/App.js
parentdc8da3549294272f18f87a2446bf1180c1335d38 (diff)
Fix 'App.select_tag()' again.
Not enough coffee.
Diffstat (limited to 'js/App.js')
-rw-r--r--js/App.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/App.js b/js/App.js
index 378be5f83..e82e45d0c 100644
--- a/js/App.js
+++ b/js/App.js
@@ -77,7 +77,7 @@ const App = {
<select name="${name}" dojoType="fox.form.Select" id="${App.escapeHtml(id)}" ${this.attributes_to_string(attributes)}>
${values.map((v) => {
v = String(v);
- `<option ${v === value ? 'selected="selected"' : ''} value="${App.escapeHtml(v)}">${App.escapeHtml(v)}</option>`
+ return `<option ${v === value ? 'selected="selected"' : ''} value="${App.escapeHtml(v)}">${App.escapeHtml(v)}</option>`
}).join("")}
</select>
`