| 3009 | // delete button | 3009 | // 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; |