mirror of
https://github.com/24eme/signaturepdf.git
synced 2023-08-25 09:33:08 +02:00
[Organization] Drag start disabled in dragging mode
This commit is contained in:
parent
e112050623
commit
f3ff57dd00
@ -108,6 +108,9 @@ var loadPDF = async function(pdfBlob, filename, pdfIndex) {
|
|||||||
if(is_mobile()) {
|
if(is_mobile()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if(isDraggedMode()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
this.querySelector('.container-resize').classList.add('d-none');
|
this.querySelector('.container-resize').classList.add('d-none');
|
||||||
this.querySelector('.canvas-pdf').classList.add('shadow-lg');
|
this.querySelector('.canvas-pdf').classList.add('shadow-lg');
|
||||||
this.querySelector('.canvas-pdf').style.border = '2px dashed #777';
|
this.querySelector('.canvas-pdf').style.border = '2px dashed #777';
|
||||||
|
@ -128,6 +128,6 @@
|
|||||||
<script>
|
<script>
|
||||||
var maxSize = <?php echo $maxSize ?>;
|
var maxSize = <?php echo $maxSize ?>;
|
||||||
</script>
|
</script>
|
||||||
<script src="/js/organization.js?202210081104"></script>
|
<script src="/js/organization.js?202210090151"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue
Block a user