Bug 1707211 - Remove hide-private.css. r=mkmelin

Differential Revision: https://phabricator.services.mozilla.com/D125721

--HG--
extra : amend_source : dc4a4a06db6b41e39df989ae97422fb9bf6e7a93
This commit is contained in:
Henry Wilkes 2021-09-16 20:21:06 +03:00
Родитель 8da084f8eb
Коммит a5502bdb76
5 изменённых файлов: 11 добавлений и 19 удалений

Просмотреть файл

@ -1589,9 +1589,12 @@ function safeModeRestart() {
// Added for TB.
function onShowPrivateDataChange() {
document.getElementById(
"about-support-private"
).disabled = document.getElementById("check-show-private-data").checked;
document
.getElementById("contents")
.classList.toggle(
"show-private-data",
document.getElementById("check-show-private-data").checked
);
}
/**

Просмотреть файл

@ -23,9 +23,6 @@
<!-- Added for TB -->
<link rel="stylesheet" href="chrome://messenger/skin/aboutSupport.css"
type="text/css"/>
<!-- Private data is hidden by default. -->
<link rel="stylesheet" href="chrome://messenger/content/about-support/hide-private.css"
type="text/css" id="about-support-private"/>
<!-- End of TB addition -->
<script src="chrome://messenger/content/about-support/aboutSupport.js"/>
<link rel="localization" href="branding/brand.ftl"/>

Просмотреть файл

@ -1,11 +0,0 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
.data-private {
display: none;
}
.data-public {
display: inline;
}

Просмотреть файл

@ -3,7 +3,6 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
messenger.jar:
content/messenger/about-support/hide-private.css (content/hide-private.css)
content/messenger/about-support/accounts.js (content/accounts.js)
content/messenger/about-support/export.js (content/export.js)
* content/messenger/about-support/aboutSupport.xhtml (content/aboutSupport.xhtml)

Просмотреть файл

@ -2,7 +2,11 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
.data-public {
#contents.show-private-data .data-public {
display: none;
}
#contents:not(.show-private-data) .data-private {
display: none;
}