Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
Import change from Bug 1501738
Browse files Browse the repository at this point in the history
  • Loading branch information
ianb committed Jan 3, 2019
1 parent 8289709 commit 85adf6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webextension/experiments/screenshots/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const LibraryButton = {
}
const parent = libraryViewInsertionPoint.parentNode;
const {nextSibling} = libraryViewInsertionPoint;
const item = win.document.createElement("toolbarbutton");
const item = win.document.createXULElement("toolbarbutton");
item.className = "subviewbutton subviewbutton-iconic";
item.addEventListener("command", () => win.openWebLinkIn(this.PAGE_TO_OPEN, "tab"));
item.id = this.ITEM_ID;
Expand Down

0 comments on commit 85adf6a

Please sign in to comment.