Bug 1229224: Bustage fix for browser-social.js

This commit is contained in:
Dave Townsend
2016-01-04 12:04:57 -08:00
parent 8dc7f59eb3
commit 7a7236bd6c

View File

@@ -1359,7 +1359,8 @@ SocialMarks = {
let providers = this.getProviders();
// 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);
}