This commit is contained in:
Tim Wijma
2022-11-03 17:40:22 +01:00
parent 03d19a2544
commit ed2d25ce33
4 changed files with 16 additions and 1 deletions

View File

Binary file not shown.

View File

@@ -113,6 +113,7 @@
</div> </div>
</div> </div>
<span class="material-symbols-outlined order-btn">arrow_downward</span> <span class="material-symbols-outlined order-btn">arrow_downward</span>
<span class="material-symbols-outlined pause-btn">pause</span>
</div> </div>
<div class="popchart column"> <div class="popchart column">

View File

@@ -126,4 +126,12 @@ function updateSort(sort){
filters.sorted = sort; filters.sorted = sort;
$(window).trigger("filter"); $(window).trigger("filter");
showFeeds() showFeeds()
} }
$(".pause-btn").on("click", function() {
if($(".pause-btn").html() == "pause") { // Unpaused to paused
$(".pause-btn").html("play_arrow")
} else { // Paused to unpaused
$(".pause-btn").html("pause")
}
})

View File

@@ -325,3 +325,9 @@ body {
.current-sort { .current-sort {
line-height: 36px; line-height: 36px;
} }
.material-symbols-outlined.pause-btn {
line-height: 52px;
font-weight: 600;
user-select: none;
}