finishings on the pairing page
This commit is contained in:
@@ -51,6 +51,7 @@ onLoad(()=>{
|
||||
$('#unpair').on('click', e => {
|
||||
let games = $('#paired')[0].childNodes.filter('.selected.listitem').map(item => parseInt(item.data("id")));
|
||||
if (games.length == 0) {
|
||||
$('#paired .listitem').addClass('selected');
|
||||
games = $('#paired')[0].childNodes.filter('.selected.listitem').map(item => parseInt(item.data("id")));
|
||||
}
|
||||
unpair(games);
|
||||
|
Reference in New Issue
Block a user