Use !== instead

Signed-off-by: Aaron Raimist <aaron@raim.ist>
pull/21833/head
Aaron Raimist 2020-02-28 18:37:52 -06:00
parent 1739b7e0cc
commit 3a7454a52f
1 changed files with 1 additions and 1 deletions

View File

@ -586,7 +586,7 @@ const LoggedInView = createReactClass({
/>;
} else if (this.props.showCookieBar &&
this.props.config.piwik &&
navigator.doNotTrack != 1
navigator.doNotTrack !== "1"
) {
const policyUrl = this.props.config.piwik.policyUrl || null;
topBar = <CookieBar policyUrl={policyUrl} />;