Merge pull request #2026 from chrismiceli/issue/1119

1119 Privacy - Query Page and Dom.storage
This commit is contained in:
yubiuser
2022-02-10 22:39:39 +01:00
committed by GitHub
5 changed files with 34 additions and 13 deletions

View File

@@ -296,7 +296,7 @@ $(function () {
}
$(row).addClass(blocked === true ? "blocked-row" : "allowed-row");
if (localStorage.getItem("colorfulQueryLog_chkbox") === "true") {
if (localStorage && localStorage.getItem("colorfulQueryLog_chkbox") === "true") {
$(row).addClass(blocked === true ? "text-red" : "text-green");
}