From e884167ff532b41dd0473375813a0d1f5f3b7c34 Mon Sep 17 00:00:00 2001 From: Mark Banner Date: Tue, 21 Apr 2015 15:40:01 +0100 Subject: [PATCH] Follow-up to bug 1142514 - make the pref name checks match the real pref name even though its spelt wrong. rs=mikedeboer over irc. --- browser/components/loop/content/js/roomViews.js | 2 +- browser/components/loop/content/js/roomViews.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/browser/components/loop/content/js/roomViews.js b/browser/components/loop/content/js/roomViews.js index 3d428357548d..edf69ae2921a 100644 --- a/browser/components/loop/content/js/roomViews.js +++ b/browser/components/loop/content/js/roomViews.js @@ -392,7 +392,7 @@ loop.roomViews = (function(mozL10n) { _shouldRenderContextView: function() { return !!( - this.props.mozLoop.getLoopPref("contextInConversations.enabled") && + this.props.mozLoop.getLoopPref("contextInConverations.enabled") && (this.state.roomContextUrls || this.state.roomDescription) ); }, diff --git a/browser/components/loop/content/js/roomViews.jsx b/browser/components/loop/content/js/roomViews.jsx index 5afad10cb1c0..331013956a21 100644 --- a/browser/components/loop/content/js/roomViews.jsx +++ b/browser/components/loop/content/js/roomViews.jsx @@ -392,7 +392,7 @@ loop.roomViews = (function(mozL10n) { _shouldRenderContextView: function() { return !!( - this.props.mozLoop.getLoopPref("contextInConversations.enabled") && + this.props.mozLoop.getLoopPref("contextInConverations.enabled") && (this.state.roomContextUrls || this.state.roomDescription) ); },