diff --git a/public/js/organization.js b/public/js/organization.js index c5c3ab9..c0a0d5d 100644 --- a/public/js/organization.js +++ b/public/js/organization.js @@ -430,6 +430,10 @@ var updatePageState = function(page) { page.querySelector('.btn-restore').classList.remove('d-none'); } + if(is_mobile() && isPageDeleted(page)) { + page.querySelector('.btn-restore').classList.remove('d-none'); + } + if(isPageSelected(page)) { page.classList.add('border-primary', 'shadow-sm', 'bg-primary'); page.classList.remove('border-transparent', 'bg-transparent', 'border-secondary', 'bg-secondary'); diff --git a/templates/organization.html.php b/templates/organization.html.php index b9a3667..64f873b 100644 --- a/templates/organization.html.php +++ b/templates/organization.html.php @@ -127,6 +127,6 @@ - + \ No newline at end of file