Bug 1260071 - Call resize() when searching happens on frontend to reset width;r=vporof
authorBrian Grinstead <bgrinstead@mozilla.com>
Wed, 30 Mar 2016 07:49:42 -0700
changeset 290836 77bdb92ae1497953ff188f77e9279ada73ec0ce9
parent 290835 a8cb004e06e7c61c6ca3676e2c0d33773882e702
child 290837 b994a14879e1a8e03c6e63ba86edcbdcd832535e
push id30127
push userryanvm@gmail.com
push dateThu, 31 Mar 2016 19:47:18 +0000
treeherdermozilla-central@09f42355aa06 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersvporof
bugs1260071
milestone48.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1260071 - Call resize() when searching happens on frontend to reset width;r=vporof MozReview-Commit-ID: 3Sbuh5NEN6p
devtools/client/webconsole/webconsole.js
--- 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.