laurihy / angular-payments

Module that provides AngularJS-directives for formatting, validating and working with payments
560 stars 269 forks source link

Fixed cardNumber/cvc formating for Firefox. #23

Open dmhts opened 10 years ago

dmhts commented 10 years ago

Hi, there! I've fixed cardNumber/cvc formating for Firefox. Also changed some css in example for crossbrowsers compatibility. More details in comments.

scott-cornwell commented 10 years ago

It looks like card expiration date is still broken in Firefox. Putting in those same checks for backspace and which instead of keyCode seems to fix it.

I'm not seeing background-position work in Firefox 28 in OSX. It actually seems to work with background-position-x and y but not background-position. Maybe just put them both?