merge from main

This commit is contained in:
youri.apell@gmail.com
2022-11-02 16:07:49 +01:00
2 changed files with 12 additions and 0 deletions

View File

@@ -110,8 +110,10 @@
<!-- <div class="button">BLOCKED WORDS</div> -->
</div>
<div class="popchart column">
<span class="colheader chartheader">Sports Popularity Filter</span>
<div id="pie" style="height:300px; background-color: white;"></div>
</div>
</div>
</div>

View File

@@ -47,3 +47,13 @@ $(".sort-dropdown-list li").on("click", function() {
$(window).on("test", function(e, filter) {
console.log(filter);
})
let root = document.querySelector(":root")
$(".logo").on("click", function() {
if (root.style.getPropertyValue("--main-bg") === 'ghostwhite') {
root.style.setProperty('--main-bg', '#292929');
} else {
root.style.setProperty('--main-bg', 'ghostwhite');
}
})