X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FHall.vue;h=32d596396cbd7ed85ee5885ffd00bf45f60adbe3;hb=41c5b662cfbe236402f67f383b40c900b8e7965b;hp=829e5b7dbf0a71eccbc8330590f0209077e55f5e;hpb=0d5c9d32fb7afb9fd330bc35918e5aab4aa970a7;p=vchess.git diff --git a/client/src/views/Hall.vue b/client/src/views/Hall.vue index 829e5b7d..32d59639 100644 --- a/client/src/views/Hall.vue +++ b/client/src/views/Hall.vue @@ -845,8 +845,7 @@ export default { const vModule = await import("@/variants/" + vname + ".js"); this.newchallenge.V = vModule.VariantRules; this.newchallenge.vname = vname; - if (!!cb) - cb(); + if (!!cb) cb(); }, trySetNewchallDiag: function() { if (!this.newchallenge.fen) { @@ -872,7 +871,7 @@ export default { this.newchallenge.vid = pchall.vid; this.newchallenge.cadence = pchall.cadence; this.newchallenge.randomness = pchall.randomness; - this.issueNewChallenge(); + this.loadNewchallVariant(this.issueNewChallenge); }, issueNewChallenge: async function() { if (!!(this.newchallenge.cadence.match(/^[0-9]+$/)))