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:
parent
6588ff91b7
commit
2e0044eb64
@ -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');
|
||||
|
@ -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>
|
Loading…
Reference in New Issue
Block a user