mirror of
https://github.com/24eme/signaturepdf
synced 2024-05-05 15:33:11 +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-left').classList.remove('d-none');
|
||||||
page.querySelector('.btn-drag-here-right').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() {
|
var updateFilesState = function() {
|
||||||
|
|
Loading…
Reference in a new issue