Soft'N'Design Software
/
projects
/
trivabble.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8850c66
)
optimizations
author
Laurent Mazet
<mazet@softndesign.org>
Sat, 22 Aug 2026 16:25:05 +0000
(18:25 +0200)
committer
Laurent Mazet
<mazet@softndesign.org>
Sat, 22 Aug 2026 16:25:05 +0000
(18:25 +0200)
public/trivabble.js
patch
|
blob
|
blame
|
history
diff --git
a/public/trivabble.js
b/public/trivabble.js
index 78482337bb4a68b677d8cf042dd513bb3ba74368..165723951cabfc7d4606dd05a6449911a6a323d3 100644
(file)
--- a/
public/trivabble.js
+++ b/
public/trivabble.js
@@
-2619,8
+2619,9
@@
boardLangSelect.textContent = "";
+ const optimized_language_bag = getSetting("OPTIMIZED_LANGUAGE_BAG");
for (const key of Object.keys(availableBoardLangs)) {
- if (
getSetting("OPTIMIZED_LANGUAGE_BAG") || !/-opt/.test(key
)) {
+ if (
optimized_language_bag || !key.endsWith("-opt"
)) {
boardLangSelect.add(new Option(_(availableBoardLangs[key]), key));
}
}