mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Removed jqueryElement.data usages
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user