Remove obsolete characterSelected event

This commit is contained in:
maver 2023-08-02 18:53:57 +02:00
parent fd10eaf037
commit e7b29babe9
1 changed files with 0 additions and 11 deletions

View File

@ -750,7 +750,6 @@ export function dragElement(elmnt) {
observer.disconnect()
console.debug(`Saving ${elmntName} UI position`)
saveSettingsDebounced();
}
}
@ -925,16 +924,6 @@ $("document").ready(function () {
$(document).on("click", ".character_select", function () {
setActiveCharacter($(this).find('.avatar').attr('title'));
setActiveGroup(null);
const chid = $(this).attr('chid');
eventSource.emit(
'characterSelected',
{detail: {id: chid, character: characters[chid]}})
.then(r => {
SaveLocal('ActiveChar', chid);
SaveLocal('ActiveGroup', null);
});
saveSettingsDebounced();
});