Skip to content

Commit

Permalink
Use strict comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
pH-7 authored Jan 28, 2022
1 parent ce08176 commit 6bbdac9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/js/Disclaimer.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Disclaimer {
}

loadDialog() {
if (this.dialogStatus == 0) {
if (this.dialogStatus === 0) {
this.backgroundElement.style.opacity = '0.95';
this.backgroundElement.style.display = 'block';
this.dialogElement.style.display = 'block';
Expand All @@ -32,7 +32,7 @@ class Disclaimer {
}

disableDialog() {
if (this.dialogStatus == 1) {
if (this.dialogStatus === 1) {
this.dialogElement.style.display = 'none';
this.backgroundElement.style.display = 'none';

Expand Down

0 comments on commit 6bbdac9

Please sign in to comment.