should look for both .regex-highlight and .item for plaintext

c6404a64015d2ccfed83795e6424f991a810de03

LenAnderson <Anderson.Len@outlook.com>

1 files changed, +1 -1Ignore whitespace
public/scripts/world-info.js+1 -1
@@ -2334,7 +2334,7 @@ async function getWorldEntry(name, data, entry) {
23342334 input.on('select2:unselect', /** @type {function(*):void} */ event => updateWorldEntryKeyOptionsCache([event.params.data], { remove: true }));
23352335
23362336 select2ChoiceClickSubscribe(input, target => {
23372337 const key = $(target.closest('.regex-highlight, .item')).text();
23382338 console.debug('Editing WI key', key);
23392339
23402340 // Remove the current key from the actual selection