Stop propagation on WI entry delete

664447d585900fdd71ac173b49eaae6e393bf5e2

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +2 -1Showing whitespace changes
public/scripts/world-info.js+2 -1
@@ -3009,7 +3009,8 @@ function getWorldEntry(name, data, entry) {
3009 // delete button3009 // delete button
3010 const deleteButton = template.find('.delete_entry_button');3010 const deleteButton = template.find('.delete_entry_button');
3011 deleteButton.data('uid', entry.uid);3011 deleteButton.data('uid', entry.uid);
3012 deleteButton.on('click', async function () {3012 deleteButton.on('click', async function (e) {
3013 e.stopPropagation();
3013 const uid = $(this).data('uid');3014 const uid = $(this).data('uid');
3014 const deleted = await deleteWorldInfoEntry(data, uid);3015 const deleted = await deleteWorldInfoEntry(data, uid);
3015 if (!deleted) return;3016 if (!deleted) return;