Skip to content

Commit

Permalink
Fix button highlights for games not in Waitlist on Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
tfedor committed Mar 6, 2020
1 parent 64542c3 commit d88b020
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/content/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -1016,7 +1016,7 @@ class AppPageClass extends StorePageClass {
updateDiv();

function updateDiv() {
let oneActive = wishlisted || waitlisted;
let oneActive = Boolean(wishlisted) || Boolean(waitlisted);

menuArrow.classList.toggle("queue_btn_active", oneActive);
menuArrow.classList.toggle("queue_btn_inactive", !oneActive);
Expand Down

0 comments on commit d88b020

Please sign in to comment.