1
0
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:
Vincent LAURENT 2022-10-09 01:51:38 +02:00
parent e112050623
commit f3ff57dd00
2 changed files with 4 additions and 1 deletions

View File

@ -108,6 +108,9 @@ var loadPDF = async function(pdfBlob, filename, pdfIndex) {
if(is_mobile()) {
return false;
}
if(isDraggedMode()) {
return false;
}
this.querySelector('.container-resize').classList.add('d-none');
this.querySelector('.canvas-pdf').classList.add('shadow-lg');
this.querySelector('.canvas-pdf').style.border = '2px dashed #777';

View File

@ -128,6 +128,6 @@
<script>
var maxSize = <?php echo $maxSize ?>;
</script>
<script src="/js/organization.js?202210081104"></script>
<script src="/js/organization.js?202210090151"></script>
</body>
</html>