mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
minor fixes
This commit is contained in:
parent
0c8e5b2e37
commit
69c166c3e9
@ -145,13 +145,7 @@
|
||||
console.log("finish");
|
||||
console.log(data);
|
||||
|
||||
|
||||
const div = document.getElementById('widget');
|
||||
|
||||
if(div.offsetParent !== null)
|
||||
process3ds();
|
||||
else
|
||||
processNon3ds();
|
||||
|
||||
});
|
||||
|
||||
@ -194,17 +188,15 @@
|
||||
document.getElementById('store_card').value = storeCard.value;
|
||||
}
|
||||
|
||||
const div = document.getElementById('widget');
|
||||
|
||||
if(div.offsetParent !== null)
|
||||
document.getElementById('stepone_submit').click();
|
||||
else
|
||||
document.getElementById('server-response').submit();
|
||||
|
||||
});
|
||||
|
||||
function processNon3ds()
|
||||
{
|
||||
|
||||
document.getElementById('#server-response').submit();
|
||||
|
||||
}
|
||||
|
||||
async function process3ds()
|
||||
{
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user