mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Redo existing search after applying styling filters.
This commit is contained in:
@@ -15,10 +15,19 @@ function onToggleDisplayCSS(evt) {
|
||||
} else {
|
||||
document.getElementById('main').removeAttribute(attr);
|
||||
}
|
||||
|
||||
if (evt.target.id != 'hideBashTags') {
|
||||
/* Now perform search again. If there is no current search, this won't
|
||||
do anything. */
|
||||
document.getElementById('searchBar').search();
|
||||
}
|
||||
}
|
||||
function onToggleBashTags(evt) {
|
||||
onToggleDisplayCSS(evt);
|
||||
document.getElementById('main').lastElementChild.updateSize();
|
||||
/* Now perform search again. If there is no current search, this won't
|
||||
do anything. */
|
||||
document.getElementById('searchBar').search();
|
||||
}
|
||||
function onOpenLogLocation(evt) {
|
||||
loot.query('openLogLocation').catch(processCefError);
|
||||
|
||||
Reference in New Issue
Block a user