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.attr('data-current-world', name);
|
||||||
moveButton.on('click', async function (e) {
|
moveButton.on('click', async function (e) {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
const sourceUid = $(this).data('uid');
|
const sourceUid = $(this).attr('data-uid');
|
||||||
const sourceWorld = $(this).data('current-world');
|
const sourceWorld = $(this).attr('data-current-world');
|
||||||
const sourceWorldInfo = await loadWorldInfo(sourceWorld);
|
const sourceWorldInfo = await loadWorldInfo(sourceWorld);
|
||||||
if (!sourceWorldInfo) {
|
if (!sourceWorldInfo) {
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user