Bug 1229224: Another bustage fix for browser-social.js

--HG--
extra : commitid : 4Bc5exMQTEA
This commit is contained in:
Dave Townsend 2016-01-04 15:49:40 -08:00
parent 208e7d54c1
commit 84293f56a9

View File

@ -1349,9 +1349,8 @@ SocialMarks = {
// also means that populateToolbarPalette must be called prior to using this
// method, otherwise you get a big fat zero. For our use case with context
// menu's, this is ok.
let tbh = this._toolbarHelper;
return Social.providers.filter(p => p.markURL &&
document.getElementById(tbh.idFromOrigin(p.origin)));
document.getElementById(this._toolbarHelper.idFromOrigin(p.origin)));
},
populateContextMenu: function() {