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:
parent
b598f1f35c
commit
c47c7728c8
1
app.php
1
app.php
@ -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);
|
||||||
|
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user