1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-11 20:22:36 +03:00

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