diff options
Diffstat (limited to 'pdf-as-web/src/main/webapp/assets/js/pdf.js/web/app.js')
-rw-r--r-- | pdf-as-web/src/main/webapp/assets/js/pdf.js/web/app.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pdf-as-web/src/main/webapp/assets/js/pdf.js/web/app.js b/pdf-as-web/src/main/webapp/assets/js/pdf.js/web/app.js index 570e779d..1af630d6 100644 --- a/pdf-as-web/src/main/webapp/assets/js/pdf.js/web/app.js +++ b/pdf-as-web/src/main/webapp/assets/js/pdf.js/web/app.js @@ -471,9 +471,7 @@ function updateSignaturePosition(signature) { signature.posx = Math.floor(x / current_scale / (4.0/3.0)).toString(); signature.posy = Math.floor((parseInt(canvas_height) - (y)) / current_scale / (4.0/3.0)).toString(); - - //console.log("last x: last y: " + $("#img_signature").css("left") + " " + $("#img_signature").css("top")); - + last_left = $("#img_signature").css("left"); last_top = $("#img_signature").css("top"); } @@ -649,7 +647,7 @@ function quickSign(connector, pdfurl) { //to decide what action should happen. Currently it only calls //the sign servlet. // -function sign(statusObj) { +function sign(statusObj) { // this is never used..? var file = statusObj.getFile(); if(!file) { alert("No File Opened"); |