Merge pull request #2776 from LenAnderson/fix-fix-fancy-click-target Fix the fix (fix fancy click target)

b44994a11d6dab81136dc33990091c2a58dc2cf3

Wolfsblvt <wolfsblvt@gmail.com>

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