Selected view in Explorer is now visible

fixes #6
This commit is contained in:
2022-08-04 22:26:51 +02:00
parent adbd09c060
commit 56fd55d09d
4 changed files with 20 additions and 6 deletions

View File

@ -340,12 +340,16 @@ function userActionHandle(availableOptions)
{
$("table").hide();
$("#gallery").show();
$(".style-select.frame").addClass('active');
$(".style-select.list").removeClass('active');
window.localStorage.setItem('explorer-view', 'gallery');
});
$(".style-select.list").click(function()
{
$("#gallery").hide();
$("table").show();
$(".style-select.frame").removeClass('active');
$(".style-select.list").addClass('active');
window.localStorage.setItem('explorer-view', 'table');
});
}