mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 23:37:33 +09:00
Remove unnecessary front-end features and pres when not building EME.
Tag #26.
This commit is contained in:
parent
c9f70f4de1
commit
80a865ac12
7 changed files with 28 additions and 11 deletions
|
|
@ -78,6 +78,7 @@ var gContentPane = {
|
|||
document.getElementById("notificationsPolicyLearnMore").setAttribute("href",
|
||||
notificationInfoURL);
|
||||
|
||||
#ifdef MOZ_EME
|
||||
let drmInfoURL =
|
||||
Services.urlFormatter.formatURLPref("app.support.baseURL") + "drm-content";
|
||||
document.getElementById("playDRMContentLink").setAttribute("href", drmInfoURL);
|
||||
|
|
@ -91,6 +92,7 @@ var gContentPane = {
|
|||
// of the pane hiding/showing code potentially interfering:
|
||||
document.getElementById("drmGroup").setAttribute("style", "display: none !important");
|
||||
}
|
||||
#endif
|
||||
},
|
||||
|
||||
// UTILITY FUNCTIONS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue