Skip to content

Commit

Permalink
Update inspectionform.php
Browse files Browse the repository at this point in the history
  • Loading branch information
pavlosb committed May 26, 2024
1 parent 8b95c79 commit 55a5f6d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions application/views/inspectionform.php
Original file line number Diff line number Diff line change
Expand Up @@ -363,10 +363,7 @@ function uploadFile() {
correspondingHeight
);

const resizedImage = canvas.toDataURL(
upload.type,
1.0
);
const resizedImage = canvas.toDataURL(upload.type, 1.0);

// If you bind this code as change listener to your upload element
// , I would store the value of 'resizedImage' in a variable,
Expand Down

0 comments on commit 55a5f6d

Please sign in to comment.