Use !== instead

Signed-off-by: Aaron Raimist <aaron@raim.ist>
This commit is contained in:
Aaron Raimist 2020-02-28 18:37:52 -06:00
parent 1739b7e0cc
commit 3a7454a52f

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} />;