Skip to content

Commit

Permalink
fix #1689
Browse files Browse the repository at this point in the history
  • Loading branch information
ImprovedTube committed May 18, 2023
1 parent 647a230 commit 3cd0c66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js&css/web-accessible/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ document.addEventListener('it-message-from-extension', function () {
} else {
localStorage.removeItem('it-codec');
}
if (!ImprovedTube.storage.player_60fps) {
if (ImprovedTube.storage.player_60fps === false) {
localStorage['it-player30fps'] = true;
} else {
localStorage.removeItem('it-player30fps');
Expand All @@ -180,7 +180,7 @@ document.addEventListener('it-message-from-extension', function () {
}
}
if(message.key==="player_60fps"){
if (!ImprovedTube.storage.player_60fps) {
if (ImprovedTube.storage.player_60fps === false) {
localStorage['it-player30fps'] = true;
} else {
localStorage.removeItem('it-player30fps');
Expand Down

0 comments on commit 3cd0c66

Please sign in to comment.