projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adjustments
[vchess.git]
/
client
/
src
/
views
/
Hall.vue
diff --git
a/client/src/views/Hall.vue
b/client/src/views/Hall.vue
index
c9a15ea
..
091c715
100644
(file)
--- a/
client/src/views/Hall.vue
+++ b/
client/src/views/Hall.vue
@@
-479,7
+479,7
@@
export default {
this.conn = null;
},
getRandomnessClass: function(pc) {
this.conn = null;
},
getRandomnessClass: function(pc) {
- if (!
pc.options.randomness
) return {};
+ if (!
Number.isInteger(pc.options.randomness)
) return {};
return {
["random-" + pc.options.randomness]: true
};
return {
["random-" + pc.options.randomness]: true
};