1
0
mirror of https://github.com/24eme/signaturepdf.git synced 2023-08-25 09:33:08 +02:00

Removing empty lines and indentation

This commit is contained in:
Vincent LAURENT 2022-04-01 00:00:54 +02:00
parent b598f1f35c
commit c47c7728c8
2 changed files with 1 additions and 3 deletions

View File

@ -121,7 +121,6 @@ $f3->route('POST /sign',
unlink($tmpfile); unlink($tmpfile);
$svgFiles = ""; $svgFiles = "";
$files = Web::instance()->receive(function($file,$formFieldName){ $files = Web::instance()->receive(function($file,$formFieldName){
if($formFieldName == "pdf" && strpos(Web::instance()->mime($file['tmp_name'], true), 'application/pdf') !== 0) { if($formFieldName == "pdf" && strpos(Web::instance()->mime($file['tmp_name'], true), 'application/pdf') !== 0) {
$f3->error(403); $f3->error(403);

View File

@ -1013,7 +1013,6 @@ var pageSignature = async function(url) {
return; return;
} }
if(window.location.hash && window.location.hash.match(/^\#http/)) { if(window.location.hash && window.location.hash.match(/^\#http/)) {
let hashUrl = window.location.hash.replace(/^\#/, ''); let hashUrl = window.location.hash.replace(/^\#/, '');
pageUpload(); pageUpload();