mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 1229224: Bustage fix for browser-social.js
--HG-- extra : commitid : 2aNdGN3Mgo1
This commit is contained in:
parent
86f03db916
commit
208e7d54c1
@ -1359,7 +1359,8 @@ SocialMarks = {
|
|||||||
let providers = this.getProviders();
|
let providers = this.getProviders();
|
||||||
|
|
||||||
// remove all previous entries by class
|
// remove all previous entries by class
|
||||||
for (let m of document.getElementsByClassName("context-socialmarks")) {
|
let menus = [...document.getElementsByClassName("context-socialmarks")];
|
||||||
|
for (let m of menus) {
|
||||||
m.parentNode.removeChild(m);
|
m.parentNode.removeChild(m);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user