Bug 1495081 - Content Blocking on/off switch's tooltip not shown. r=johannh
authorSebastian Hengst <archaeopteryx@coole-files.de>
Mon, 01 Oct 2018 10:31:29 +0000
changeset 487503 7764656611ce25659b5fc408ce72007623545d69
parent 487502 93b4642d28ab55fb3ba1bc41dfe47916828abcd3
child 487504 549b5d7a277b19161e52af26cfbd596b300d09c0
push id246
push userfmarier@mozilla.com
push dateSat, 13 Oct 2018 00:15:40 +0000
reviewersjohannh
bugs1495081
milestone64.0a1
Bug 1495081 - Content Blocking on/off switch's tooltip not shown. r=johannh Differential Revision: https://phabricator.services.mozilla.com/D7213
browser/components/preferences/in-content/privacy.xul
--- a/browser/components/preferences/in-content/privacy.xul
+++ b/browser/components/preferences/in-content/privacy.xul
@@ -322,16 +322,17 @@
         </hbox>
       </vbox>
     </hbox>
     <hbox id="contentBlockingCheckboxContainer">
       <checkbox id="contentBlockingCheckbox"
                 onsyncfrompreference="return gPrivacyPane.updateContentBlockingToggle()"
                 preference="browser.contentblocking.enabled"/>
       <button id="contentBlockingToggle"
+              data-l10n-attrs="tooltiptext"
               data-l10n-id="content-blocking-toggle-on"/>
       <label id="contentBlockingToggleLabel"
              data-l10n-id="content-blocking-toggle-label-on"
              control="contentBlockingToggle"/>
     </hbox>
     <vbox id="contentBlockingCategories">
       <label id="content-blocking-categories-label" data-l10n-id="content-blocking-category-label"/>
       <hbox class="content-blocking-category fast-block-ui">