[Contesting] Check if QSOTable is initialised

This fixes the javascript error reported in #981 not sure if it solves all the issues though
这个提交包含在:
Peter Goodhall 2021-04-05 17:40:34 +01:00
父节点 2396aec9d6
当前提交 ae4a7e596b

查看文件

@ -1854,7 +1854,7 @@ function deleteQsl(id) {
'<td>'+ receivedexchange + '</td>' +
'</tr>');
});
if (!$.fn.DataTable.isDataTable('.qsotable')) {
$('.qsotable').DataTable({
"pageLength": 25,
responsive: false,
@ -1865,6 +1865,7 @@ function deleteQsl(id) {
"order": [[ 0, "desc" ]]
});
}
}
});
}
}