Bug 1088257 - Fix tooltip/label inversion by removing the unnecessary 2 assignments. r=dao
authorPaul Duguet <pduguet33@hotmail.com>
Fri, 14 Nov 2014 08:07:00 -0500
changeset 240218 9433adad2df8178c262bebfa3107f7a3553e9dfc
parent 240217 9dba07ce2717b7dc4ad5022e1b6b4c3131f9f205
child 240219 b6e4173bdd9d212f9f9dd53a5bfe8054f6af63cc
push id4311
push userraliiev@mozilla.com
push dateMon, 12 Jan 2015 19:37:41 +0000
treeherdermozilla-beta@150c9fed433b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao
bugs1088257
milestone36.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 1088257 - Fix tooltip/label inversion by removing the unnecessary 2 assignments. r=dao
browser/components/customizableui/CustomizableWidgets.jsm
--- a/browser/components/customizableui/CustomizableWidgets.jsm
+++ b/browser/components/customizableui/CustomizableWidgets.jsm
@@ -394,18 +394,16 @@ const CustomizableWidgets = [
       fillSubviewFromMenuItems([...menu.children], doc.getElementById("PanelUI-sidebarItems"));
     },
     onViewHiding: function(aEvent) {
       let doc = aEvent.target.ownerDocument;
       clearSubview(doc.getElementById("PanelUI-sidebarItems"));
     }
   }, {
     id: "social-share-button",
-    tooltiptext: "social-share-button.label",
-    label: "social-share-button.tooltiptext",
     // custom build our button so we can attach to the share command
     type: "custom",
     onBuild: function(aDocument) {
       let node = aDocument.createElementNS(kNSXUL, "toolbarbutton");
       node.setAttribute("id", this.id);
       node.classList.add("toolbarbutton-1");
       node.classList.add("chromeclass-toolbar-additional");
       node.setAttribute("label", CustomizableUI.getLocalizedProperty(this, "label"));