Multiple lint issue fixes

Found by using the command `meteor npm run lint:eslint:fix`.
This commit is contained in:
Marc Hartmayer 2020-04-21 17:06:39 +02:00
parent 3407b0e65b
commit b2acc3ba45
3 changed files with 7 additions and 7 deletions

View file

@ -420,9 +420,9 @@ BlazeComponent.extendComponent({
const forIt = $(e.target).hasClass('js-vote-positive');
let newState = null;
if (
this.voteState() == null ||
(this.voteState() == false && forIt) ||
(this.voteState() == true && !forIt)
this.voteState() === null ||
(this.voteState() === false && forIt) ||
(this.voteState() === true && !forIt)
) {
newState = forIt;
}