Skip to content

Commit

Permalink
Remove leftover/unneeded decodeURIComponent in readerview
Browse files Browse the repository at this point in the history
  • Loading branch information
csadilek authored and mergify[bot] committed Mar 15, 2021
1 parent 09f8e79 commit 0526597
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ function connectNativePort() {
*/
function prepareBody() {
let url = new URL(window.location.href);
let colorScheme = decodeURIComponent(url.searchParams.get("colorScheme"));
let colorScheme = url.searchParams.get("colorScheme");
let body = document.createElement("body");
body.classList.add("mozac-readerview-body");
body.classList.add(colorScheme);
Expand Down

0 comments on commit 0526597

Please sign in to comment.