mirror of
https://github.com/cp6/my-idlers.git
synced 2024-11-16 15:33:44 +01:00
Fixed active status switching for object view type
Fixed active status switching for object view type
This commit is contained in:
parent
c882d47026
commit
00039c4d08
2
assets/js/scripts.min.js
vendored
2
assets/js/scripts.min.js
vendored
@ -348,6 +348,8 @@ $(document).on("click", "#viewSwitcherIcon", function () {
|
||||
}
|
||||
icon.removeClass("fa-table");
|
||||
icon.addClass("fa-th");
|
||||
$("#tableViewDiv").addClass("active");
|
||||
$("#cardsViewDiv").removeClass("active");
|
||||
$("#cardsViewDiv").hide();
|
||||
$("#tableViewDiv").show();
|
||||
$('#viewSwitchIcon').prop('title', 'Switch to cards');
|
||||
|
Loading…
Reference in New Issue
Block a user