merged from main
This commit is contained in:
@@ -38,15 +38,6 @@ $(window).on("load", function() {
|
||||
showFeeds()
|
||||
})
|
||||
|
||||
$(".sortby").on("click", function() {
|
||||
$(".sort-dropdown").toggle()
|
||||
// $(".sort-btn").toggleClass("radius-bottom")
|
||||
})
|
||||
|
||||
$(".sort-dropdown-list li").on("click", function() {
|
||||
$(".sort-dropdown").toggle()
|
||||
})
|
||||
|
||||
let root = document.querySelector(":root")
|
||||
|
||||
$(".logo").on("click", function() {
|
||||
@@ -89,6 +80,19 @@ $(window).on("filter", function() {
|
||||
}
|
||||
})
|
||||
|
||||
$(".current-sort").on("click", function() {
|
||||
$(".sort-dropdown-list li:not(:first-of-type)").toggle()
|
||||
})
|
||||
|
||||
$(".sort-btn").on("click", function() {
|
||||
$(".sort-dropdown-list li:not(:first-of-type)").toggle()
|
||||
})
|
||||
|
||||
$(".sort-dropdown-list li:not(:first-of-type)").on("click", function() {
|
||||
$(".sort-dropdown-list li:not(:first-of-type)").toggle()
|
||||
$(".current-sort").html($(this).html())
|
||||
})
|
||||
|
||||
|
||||
$(".order-btn").on("click", function() {
|
||||
if($(this).html() == "arrow_downward") { // Descending to ascending
|
||||
|
||||
Reference in New Issue
Block a user