From 74c4da6ad54cd88254951ce68cb6fa9b6237da4e Mon Sep 17 00:00:00 2001 From: Jared Wein Date: Thu, 25 Oct 2012 12:29:12 -0700 Subject: [PATCH] Bug 804736 - Allow reactivation from content for Social API. r=mixedpuppy --HG-- extra : rebase_source : f2a4ac4fa58874092e2639f307eb20e29e76a3fd --- browser/base/content/browser-social.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/browser/base/content/browser-social.js b/browser/base/content/browser-social.js index 557dc50855ea..60de02887e82 100644 --- a/browser/base/content/browser-social.js +++ b/browser/base/content/browser-social.js @@ -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;