mirror of
https://github.com/24eme/signaturepdf.git
synced 2023-08-25 09:33:08 +02:00
[Organization] Display page number when page is selected
This commit is contained in:
parent
96172423c6
commit
3f9d8f380f
@ -441,7 +441,8 @@ var updatePageState = function(page) {
|
||||
page.querySelector('.btn-restore').classList.remove('d-none');
|
||||
}
|
||||
|
||||
if(isPageSelected(page)) {
|
||||
if(isPageSelected(page) != isPageDragged(page)) {
|
||||
page.querySelector('.page-title').classList.remove('d-none');
|
||||
page.classList.add('border-primary', 'shadow-sm', 'bg-primary');
|
||||
page.classList.remove('border-transparent', 'bg-transparent', 'border-secondary', 'bg-secondary');
|
||||
page.querySelector('.btn-select').classList.add('text-primary');
|
||||
|
Loading…
Reference in New Issue
Block a user