pause
This commit is contained in:
Binary file not shown.
@@ -113,6 +113,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<span class="material-symbols-outlined order-btn">arrow_downward</span>
|
||||
<span class="material-symbols-outlined pause-btn">pause</span>
|
||||
</div>
|
||||
<div class="popchart column">
|
||||
|
||||
|
||||
@@ -126,4 +126,12 @@ function updateSort(sort){
|
||||
filters.sorted = sort;
|
||||
$(window).trigger("filter");
|
||||
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")
|
||||
}
|
||||
})
|
||||
@@ -325,3 +325,9 @@ body {
|
||||
.current-sort {
|
||||
line-height: 36px;
|
||||
}
|
||||
|
||||
.material-symbols-outlined.pause-btn {
|
||||
line-height: 52px;
|
||||
font-weight: 600;
|
||||
user-select: none;
|
||||
}
|
||||
Reference in New Issue
Block a user