Removed jqueryElement.data usages

8970c8274c502b76d3fe6530f8abbd5ee035c399

bmen25124 <bmen25124@gmail.com>

1 files changed, +2 -2Showing whitespace changes
public/scripts/world-info.js+2 -2
@@ -3145,8 +3145,8 @@ export async function getWorldEntry(name, data, entry) {
3145 moveButton.attr('data-current-world', name);3145 moveButton.attr('data-current-world', name);
3146 moveButton.on('click', async function (e) {3146 moveButton.on('click', async function (e) {
3147 e.stopPropagation();3147 e.stopPropagation();
3148 const sourceUid = $(this).data('uid');3148 const sourceUid = $(this).attr('data-uid');
3149 const sourceWorld = $(this).data('current-world');3149 const sourceWorld = $(this).attr('data-current-world');
3150 const sourceWorldInfo = await loadWorldInfo(sourceWorld);3150 const sourceWorldInfo = await loadWorldInfo(sourceWorld);
3151 if (!sourceWorldInfo) {3151 if (!sourceWorldInfo) {
3152 return;3152 return;