ORDER ARROW
This commit is contained in:
@@ -67,4 +67,12 @@ $(".logo").on("click", function() {
|
||||
root.style.setProperty('--tweet-color', 'whitesmoke');
|
||||
root.style.setProperty('--column-color', 'rgba(112, 128, 144, 0.388');
|
||||
}
|
||||
})
|
||||
|
||||
$(".order-btn").on("click", function() {
|
||||
if($(this).html() == "arrow_downward") { // Descending to ascending
|
||||
$(this).html("arrow_upward")
|
||||
} else { // Ascending to descending
|
||||
$(this).html("arrow_downward")
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user