mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Adjustments for autofill
This commit is contained in:
parent
0b442adac9
commit
e0cd78925b
@ -80,11 +80,11 @@ $(function() {
|
||||
var myCard = $('#my-card');
|
||||
myCard.EXPIRY_USE_DROPDOWNS = true;
|
||||
|
||||
document.getElementsByName('expiry-month')[0].attr("x-autocompletetype", "cc-exp-month");
|
||||
document.getElementsByName('expiry-month')[0].attr("autocompletetype", "cc-exp-month");
|
||||
document.getElementsByName('expiry-month')[0].setAttribute("x-autocompletetype", "cc-exp-month");
|
||||
document.getElementsByName('expiry-month')[0].setAttribute("autocompletetype", "cc-exp-month");
|
||||
|
||||
document.getElementsByName('expiry-year')[0].attr("x-autocompletetype", "cc-exp-year");
|
||||
document.getElementsByName('expiry-year')[0].attr("autocompletetype", "cc-exp-year");
|
||||
document.getElementsByName('expiry-year')[0].setAttribute("x-autocompletetype", "cc-exp-year");
|
||||
document.getElementsByName('expiry-year')[0].setAttribute("autocompletetype", "cc-exp-year");
|
||||
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user