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 290895 77bdb92ae1497953ff188f77e9279ada73ec0ce9
parent 290894 a8cb004e06e7c61c6ca3676e2c0d33773882e702
child 290896 b994a14879e1a8e03c6e63ba86edcbdcd832535e
push id19656
push usergwagner@mozilla.com
push dateMon, 04 Apr 2016 13:43:23 +0000
treeherderb2g-inbound@e99061fde28a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersvporof
bugs1260071
milestone48.0a1
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.