Bug 804736 - Allow reactivation from content for Social API. r=mixedpuppy

--HG--
extra : rebase_source : f2a4ac4fa58874092e2639f307eb20e29e76a3fd
This commit is contained in:
Jared Wein 2012-10-25 12:29:12 -07:00
parent 0bf05dd891
commit 74c4da6ad5

View File

@ -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;