Bug 1059934 - lwt panel height shouldn't persist, r=jaws
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Mon, 06 Oct 2014 10:43:30 +0100
changeset 232424 4b203cdd7d7d902617d2595e17f224b466b42ec1
parent 232423 c90e0b3556b87d0235cdc16f679061184ff51cc8
child 232440 e4cfacb76830902057b6f698a5ca9f78aea25d06
child 232524 78b544e3bb6eed9174305eecb33ce4246eea6557
push id4187
push userbhearsum@mozilla.com
push dateFri, 28 Nov 2014 15:29:12 +0000
treeherdermozilla-beta@f23cc6a30c11 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws
bugs1059934
milestone35.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 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();