Fixed active status switching for object view type

Fixed active status switching for object view type
This commit is contained in:
cp6 2021-01-30 11:23:18 +11:00
parent c882d47026
commit 00039c4d08

View File

@ -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');