1
0
mirror of https://github.com/24eme/signaturepdf.git synced 2023-08-25 09:33:08 +02:00

[Organization] button restore always visible on mobile

This commit is contained in:
Vincent LAURENT 2022-10-08 00:32:57 +02:00
parent 6588ff91b7
commit 2e0044eb64
2 changed files with 5 additions and 1 deletions

View File

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

View File

@ -127,6 +127,6 @@
<script>
var maxSize = <?php echo $maxSize ?>;
</script>
<script src="/js/organization.js?2022100702355"></script>
<script src="/js/organization.js?202210080032"></script>
</body>
</html>