mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 15:55:36 +00:00
Bug 1494337 - Do not display the 'triggers refresh' note if there's no option needing it r=ochameau
Depends on D6923 Differential Revision: https://phabricator.services.mozilla.com/D6920 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
f74fc26e96
commit
9ce2cbff3e
@ -467,6 +467,10 @@ OptionsPanel.prototype = {
|
||||
} else {
|
||||
// Hide the checkbox and label
|
||||
this.disableJSNode.parentNode.style.display = "none";
|
||||
|
||||
const triggersPageRefreshLabel =
|
||||
this.panelDoc.getElementById("triggers-page-refresh-label");
|
||||
triggersPageRefreshLabel.style.display = "none";
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -189,6 +189,7 @@
|
||||
<span>&options.enableRemote.label3;</span>
|
||||
</label>
|
||||
<span class="options-citation-label theme-comment"
|
||||
id="triggers-page-refresh-label"
|
||||
>&options.context.triggersPageRefresh;</span>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user