fix empty socket messages
This commit is contained in:
parent
7df149acf9
commit
548fd1b607
|
@ -17,10 +17,10 @@ module.exports = {
|
|||
ctrl.trans('theOtherPlayerHasLeftTheGameYouCanForceResignationOrWaitForHim'),
|
||||
m('br'),
|
||||
m('a.button', {
|
||||
onclick: partial(ctrl.socket.send, 'resign-force'),
|
||||
onclick: partial(ctrl.socket.send, 'resign-force', null),
|
||||
}, ctrl.trans('forceResignation')),
|
||||
m('a.button', {
|
||||
onclick: partial(ctrl.socket.send, 'draw-force'),
|
||||
onclick: partial(ctrl.socket.send, 'draw-force', null),
|
||||
}, ctrl.trans('forceDraw'))
|
||||
]);
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue