Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging

This commit is contained in:
RossAscends 2024-09-05 14:36:42 +09:00
commit ff268bbce9

View File

@ -2334,7 +2334,7 @@ async function getWorldEntry(name, data, entry) {
input.on('select2:unselect', /** @type {function(*):void} */ event => updateWorldEntryKeyOptionsCache([event.params.data], { remove: true }));
select2ChoiceClickSubscribe(input, target => {
const key = $(target.closest('.regex-highlight')).text();
const key = $(target.closest('.regex-highlight, .item')).text();
console.debug('Editing WI key', key);
// Remove the current key from the actual selection