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:
27f010f
)
fix initial setting
author
Laurent Mazet
<mazet@softndesign.org>
Tue, 27 Apr 2021 07:50:58 +0000
(09:50 +0200)
committer
Laurent Mazet
<mazet@softndesign.org>
Tue, 27 Apr 2021 07:51:13 +0000
(09:51 +0200)
public/trivabble.js
patch
|
blob
|
blame
|
history
diff --git
a/public/trivabble.js
b/public/trivabble.js
index 721f9fa10fa4152849652fb2628c0d8f271ebaba..1af9d445ac8e6c81907a11100dfd3fc7aa206f37 100644
(file)
--- a/
public/trivabble.js
+++ b/
public/trivabble.js
@@
-1535,7
+1535,7
@@
playerName: getSetting("PlayerName"),
boardLang: getSetting("BoardLang"),
boardLabel: getSetting("BoardLabel"),
- bagFactor:
BoardList[getSetting("BoardLabel")].factor
,
+ bagFactor:
(typeof getSetting("BoardLabel") !== "undefined") ? BoardList[getSetting("BoardLabel")].factor : 1
,
version: VERSION,
cmds: cmds
};