From 301be5ea4c79e14ede79ac4c13b3f34b62265821 Mon Sep 17 00:00:00 2001 From: Anthony Tseng Date: Tue, 2 Aug 2016 15:20:37 +0800 Subject: [PATCH] Fix isSecure prop fix #2673 --- js/components/urlBar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/components/urlBar.js b/js/components/urlBar.js index c070fd9a2eb..32a4bb2e6a2 100644 --- a/js/components/urlBar.js +++ b/js/components/urlBar.js @@ -376,8 +376,8 @@ class UrlBar extends ImmutableComponent { className={cx({ urlbarIcon: true, 'fa': !this.activateSearchEngine, - 'fa-lock': !this.activateSearchEngine && this.isHTTPPage && this.isSecure && !this.props.urlbar.get('active'), - 'fa-unlock-alt': !this.activateSearchEngine && this.isHTTPPage && !this.isSecure && !this.props.urlbar.get('active') && !this.props.titleMode, + 'fa-lock': !this.activateSearchEngine && this.isHTTPPage && this.props.isSecure && !this.props.urlbar.get('active'), + 'fa-unlock-alt': !this.activateSearchEngine && this.isHTTPPage && !this.props.isSecure && !this.props.urlbar.get('active') && !this.props.titleMode, 'fa fa-file': !this.activateSearchEngine && this.props.urlbar.get('active') && this.props.loading === false, extendedValidation: this.extendedValidationSSL })}