Fix DOM selector of changing player name
This commit is contained in:
parent
d2d8eef15f
commit
76b607dfd2
|
|
@ -95,7 +95,7 @@ async function showPlayerTexturePreview(pid) {
|
|||
|
||||
async function changePlayerName(pid) {
|
||||
let newPlayerName = '';
|
||||
const $playerName = $(`td:contains("${pid}")`).next();
|
||||
const $playerName = $(`tr#${pid} td.player-name`);
|
||||
|
||||
try {
|
||||
newPlayerName = await swal({
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user