Bug 1260071 - Call resize() when searching happens on frontend to reset width;r=vporof
MozReview-Commit-ID: 3Sbuh5NEN6p
--- a/devtools/client/webconsole/webconsole.js
+++ b/devtools/client/webconsole/webconsole.js
@@ -1060,16 +1060,18 @@ WebConsoleFrame.prototype = {
// if the text matches the words in aSearchString...
if (this.stringMatchesFilters(text, searchString)) {
node.classList.remove("filtered-by-string");
} else {
node.classList.add("filtered-by-string");
}
}
+
+ this.resize();
},
/**
* Applies the user's filters to a newly-created message node via CSS
* classes.
*
* @param nsIDOMNode node
* The newly-created message node.