Bug 1701306 - Remove custom code setting the "open" attribute on panel anchors. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D110817
This commit is contained in:
@@ -1638,10 +1638,6 @@ var gProtectionsHandler = {
|
||||
if (event.target == this._protectionsPopup) {
|
||||
window.addEventListener("focus", this, true);
|
||||
|
||||
// Add the "open" attribute to the tracking protection icon container
|
||||
// for styling.
|
||||
this._trackingProtectionIconContainer.setAttribute("open", "true");
|
||||
|
||||
// Insert the info message if needed. This will be shown once and then
|
||||
// remain collapsed.
|
||||
ToolbarPanelHub.insertProtectionPanelMessage(event);
|
||||
@@ -1659,7 +1655,6 @@ var gProtectionsHandler = {
|
||||
onPopupHidden(event) {
|
||||
if (event.target == this._protectionsPopup) {
|
||||
window.removeEventListener("focus", this, true);
|
||||
this._trackingProtectionIconContainer.removeAttribute("open");
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user