mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 05:15:45 +00:00
Bug 804736 - Allow reactivation from content for Social API. r=mixedpuppy
--HG-- extra : rebase_source : f2a4ac4fa58874092e2639f307eb20e29e76a3fd
This commit is contained in:
parent
0bf05dd891
commit
74c4da6ad5
@ -114,9 +114,9 @@ let SocialUI = {
|
||||
// This handles "ActivateSocialFeature" events fired against content documents
|
||||
// in this window.
|
||||
_activationEventHandler: function SocialUI_activationHandler(e) {
|
||||
// Nothing to do if Social is already active, or we don't have a provider
|
||||
// Nothing to do if Social is already enabled, or we don't have a provider
|
||||
// to enable yet.
|
||||
if (Social.active || !Social.provider)
|
||||
if (Social.enabled || !Social.provider)
|
||||
return;
|
||||
|
||||
let targetDoc = e.target;
|
||||
|
Loading…
Reference in New Issue
Block a user