Bug 1059934 - lwt panel height shouldn't persist, r=jaws
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Mon, 06 Oct 2014 10:43:30 +0100
changeset 209209 4b203cdd7d7d902617d2595e17f224b466b42ec1
parent 209208 c90e0b3556b87d0235cdc16f679061184ff51cc8
child 209225 e4cfacb76830902057b6f698a5ca9f78aea25d06
child 209309 78b544e3bb6eed9174305eecb33ce4246eea6557
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersjaws
bugs1059934
milestone35.0a1
Bug 1059934 - lwt panel height shouldn't persist, r=jaws
browser/components/customizableui/CustomizeMode.jsm
--- a/browser/components/customizableui/CustomizeMode.jsm
+++ b/browser/components/customizableui/CustomizeMode.jsm
@@ -1377,16 +1377,17 @@ CustomizeMode.prototype = {
     let footer = doc.getElementById("customization-lwtheme-menu-footer");
     let recommendedLabel = doc.getElementById("customization-lwtheme-menu-recommended");
     for (let element of [footer, recommendedLabel]) {
       while (element.previousSibling &&
              element.previousSibling.localName == "toolbarbutton") {
         element.previousSibling.remove();
       }
     }
+    aEvent.target.removeAttribute("height");
   },
 
   _onUIChange: function() {
     this._changed = true;
     if (!this.resetting) {
       this._updateResetButton();
       this._updateUndoResetButton();
       this._updateEmptyPaletteNotice();