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:
@@ -96,9 +96,6 @@ var StarUI = {
|
||||
let { selectedFolderGuid, didChangeFolder } = gEditItemOverlay;
|
||||
gEditItemOverlay.uninitPanel(true);
|
||||
|
||||
this._anchorElement.removeAttribute("open");
|
||||
this._anchorElement = null;
|
||||
|
||||
let removeBookmarksOnPopupHidden = this._removeBookmarksOnPopupHidden;
|
||||
this._removeBookmarksOnPopupHidden = false;
|
||||
let guidsForRemoval = this._itemGuids;
|
||||
@@ -299,9 +296,6 @@ var StarUI = {
|
||||
|
||||
this.beginBatch();
|
||||
|
||||
this._anchorElement = BookmarkingUI.anchor;
|
||||
this._anchorElement.setAttribute("open", "true");
|
||||
|
||||
let onPanelReady = fn => {
|
||||
let target = this.panel;
|
||||
if (target.parentNode) {
|
||||
@@ -326,7 +320,7 @@ var StarUI = {
|
||||
isNewBookmark: this._isNewBookmark,
|
||||
});
|
||||
|
||||
this.panel.openPopup(this._anchorElement, "bottomcenter topright");
|
||||
this.panel.openPopup(BookmarkingUI.anchor, "bottomcenter topright");
|
||||
},
|
||||
|
||||
_createPanelIfNeeded() {
|
||||
|
||||
Reference in New Issue
Block a user