Bug 1246460 - re-add pocket bookmarks button menuitem now that its original insertion point is gone, r=MattN

This commit is contained in:
Gijs Kruitbosch
2016-02-08 10:08:43 +00:00
parent adead25ce5
commit 9da6575d8c
4 changed files with 25 additions and 1 deletions

View File

@@ -422,7 +422,7 @@ var PocketOverlay = {
}
// add to bookmarks-menu-button
sib = document.getElementById("BMB_subscribeToPageMenuitem");
sib = document.getElementById("BMB_bookmarksToolbar");
if (sib && !document.getElementById("BMB_pocket")) {
let menu = createElementWithAttrs(document, "menuitem", {
"id": "BMB_pocket",