mirror of
https://github.com/24eme/signaturepdf.git
synced 2023-08-25 09:33:08 +02:00
Buttons near page dragged not hide
This commit is contained in:
parent
4f9697d409
commit
3ee536cff3
@ -481,12 +481,6 @@ var updatePageState = function(page) {
|
||||
page.querySelector('.btn-drag-here-left').classList.remove('d-none');
|
||||
page.querySelector('.btn-drag-here-right').classList.remove('d-none');
|
||||
}
|
||||
if(page.previousSibling && page.previousSibling.draggable && isPageDragged(page.previousSibling) && isDraggedMode()) {
|
||||
page.querySelector('.btn-drag-here-left').classList.add('d-none');
|
||||
}
|
||||
if(page.nextSibling && page.nextSibling.draggable && isPageDragged(page.nextSibling) && isDraggedMode()) {
|
||||
page.querySelector('.btn-drag-here-right').classList.add('d-none');
|
||||
}
|
||||
}
|
||||
|
||||
var updateFilesState = function() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user