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.removeClass("fa-table");
|
||||||
icon.addClass("fa-th");
|
icon.addClass("fa-th");
|
||||||
|
$("#tableViewDiv").addClass("active");
|
||||||
|
$("#cardsViewDiv").removeClass("active");
|
||||||
$("#cardsViewDiv").hide();
|
$("#cardsViewDiv").hide();
|
||||||
$("#tableViewDiv").show();
|
$("#tableViewDiv").show();
|
||||||
$('#viewSwitchIcon').prop('title', 'Switch to cards');
|
$('#viewSwitchIcon').prop('title', 'Switch to cards');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user