Redo existing search after applying styling filters.

This commit is contained in:
Oliver Hamlet
2015-05-27 07:31:54 +01:00
parent 933bfda1b6
commit a980a5ce0c
+9
View File
@@ -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);