- div#newgameDiv(role="dialog" data-checkbox="modalNewgame"
- aria-labelledby="titleFenedit")
- .card.smallpad(@keyup.enter="newChallenge")
+ div#newgameDiv(role="dialog" data-checkbox="modalNewgame")
+ .card(@keyup.enter="newChallenge()")
label#closeNewgame.modal-close(for="modalNewgame")
fieldset
label(for="selectVariant") {{ st.tr["Variant"] }} *
label#closeNewgame.modal-close(for="modalNewgame")
fieldset
label(for="selectVariant") {{ st.tr["Variant"] }} *
button(@click="setDisplay('c','corr',$event)")
| {{ st.tr["Correspondance challenges"] }}
ChallengeList(v-show="cdisplay=='live'"
button(@click="setDisplay('c','corr',$event)")
| {{ st.tr["Correspondance challenges"] }}
ChallengeList(v-show="cdisplay=='live'"
}
if (!this.people[s.sid])
this.$set(this.people, s.sid, {id:0, name:"", pages:[s.page || "/"]});
}
if (!this.people[s.sid])
this.$set(this.people, s.sid, {id:0, name:"", pages:[s.page || "/"]});
if (!s.page) //peer is in Hall
this.send("askchallenge", {target:s.sid});
else //peer is in Game
if (!s.page) //peer is in Hall
this.send("askchallenge", {target:s.sid});
else //peer is in Game
if (data.code == "connect")
this.send("askchallenge", {target:data.from});
else
if (data.code == "connect")
this.send("askchallenge", {target:data.from});
else
if (this.people[data.from].id == 0)
{
this.newConnect[data.from] = true; //for self multi-connects tests
if (this.people[data.from].id == 0)
{
this.newConnect[data.from] = true; //for self multi-connects tests