mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-02-02 00:16:34 +01:00
parent
8eab35761d
commit
e059caa14e
@ -308,14 +308,14 @@
|
|||||||
if(editSectionElement){
|
if(editSectionElement){
|
||||||
editSectionElement.style.display = "none";
|
editSectionElement.style.display = "none";
|
||||||
}
|
}
|
||||||
let cropPdfCanvas = document.querySelector("#crop-pdf-canvas");
|
let cropPdfCanvas = document.querySelector("#cropPdfCanvas");
|
||||||
let overlayCanvas = document.querySelector("#overlayCanvas");
|
let overlayCanvas = document.querySelector("#overlayCanvas");
|
||||||
if(cropPdfCanvas && overlayCanvas){
|
if(cropPdfCanvas && overlayCanvas){
|
||||||
cropPdfCanvas.width = 0;
|
cropPdfCanvas.width = 0;
|
||||||
cropPdfCanvas.heigth = 0;
|
cropPdfCanvas.height = 0;
|
||||||
|
|
||||||
overlayCanvas.width = 0;
|
overlayCanvas.width = 0;
|
||||||
overlayCanvas.heigth = 0;
|
overlayCanvas.height = 0;
|
||||||
}
|
}
|
||||||
} else{
|
} else{
|
||||||
console.log("Disabled for 'Merge'");
|
console.log("Disabled for 'Merge'");
|
||||||
|
Loading…
Reference in New Issue
Block a user