pause
This commit is contained in:
Binary file not shown.
@@ -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">
|
||||||
|
|
||||||
|
|||||||
@@ -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")
|
||||||
|
}
|
||||||
|
})
|
||||||
@@ -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;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user