mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Fix scroll-after-conflict-filter
I accidentally removed the code in
ce524bdf57.
This commit is contained in:
@@ -22,6 +22,12 @@ function onConflictsFilter(evt) {
|
||||
}
|
||||
});
|
||||
loot.filters.apply(loot.game.plugins);
|
||||
|
||||
/* Scroll to the target plugin */
|
||||
const list = document.getElementById('pluginCardList');
|
||||
const index = list.items.findIndex(item => item.name === evt.target.value);
|
||||
list.scrollToIndex(index);
|
||||
|
||||
loot.Dialog.closeProgress();
|
||||
}).catch(loot.handlePromiseError);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user