merge from main
This commit is contained in:
@@ -110,8 +110,10 @@
|
|||||||
<!-- <div class="button">BLOCKED WORDS</div> -->
|
<!-- <div class="button">BLOCKED WORDS</div> -->
|
||||||
</div>
|
</div>
|
||||||
<div class="popchart column">
|
<div class="popchart column">
|
||||||
|
|
||||||
<span class="colheader chartheader">Sports Popularity Filter</span>
|
<span class="colheader chartheader">Sports Popularity Filter</span>
|
||||||
<div id="pie" style="height:300px; background-color: white;"></div>
|
<div id="pie" style="height:300px; background-color: white;"></div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -46,4 +46,14 @@ $(".sort-dropdown-list li").on("click", function() {
|
|||||||
|
|
||||||
$(window).on("test", function(e, filter) {
|
$(window).on("test", function(e, filter) {
|
||||||
console.log(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');
|
||||||
|
}
|
||||||
})
|
})
|
||||||
Reference in New Issue
Block a user