Removed jqueryElement.data usages

This commit is contained in:
bmen25124
2025-03-27 14:38:54 +03:00
parent bc08d42d0e
commit 8970c8274c

View File

@@ -3145,8 +3145,8 @@ export async function getWorldEntry(name, data, entry) {
moveButton.attr('data-current-world', name);
moveButton.on('click', async function (e) {
e.stopPropagation();
const sourceUid = $(this).data('uid');
const sourceWorld = $(this).data('current-world');
const sourceUid = $(this).attr('data-uid');
const sourceWorld = $(this).attr('data-current-world');
const sourceWorldInfo = await loadWorldInfo(sourceWorld);
if (!sourceWorldInfo) {
return;