Skip to content

Commit

Permalink
Reload page on status change.
Browse files Browse the repository at this point in the history
  • Loading branch information
vinaykharayat committed Oct 21, 2021
1 parent da264be commit e3baba5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion browserAction/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ async function setStatus(status) {
sliderNode.disabled = true;
} else {
sliderNode.disabled = false;

}
}

Expand Down
1 change: 1 addition & 0 deletions content_script.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ function speakerBoosterStatus(status) {
gainNode.gain.value = 1;
source.connect(gainNode);
gainNode.connect(audioCtx.destination);
window.location.reload();
} else {
browser.storage.local.get('value').then(result => increaseVolume(result.value));
}
Expand Down

0 comments on commit e3baba5

Please sign in to comment.