Closed simoncpu closed 8 years ago
$.fn.payment('formatCardNumber') should include spaces every 4 digits.
$.fn.payment('formatCardNumber') does not include spaces every 4 digits on Chrome.
OS: Linux simoncpu 3.13.0-96-generic #143-Ubuntu SMP Mon Aug 29 20:15:20 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Non-working Chrome version: Google Chrome 55.0.2873.0 dev Working Chrome version: Google Chrome 53.0.2785.116
Never mind, it turns out that typing invalid first few numbers, regardless of Chrome version, causes this problem.
Test data: 1111111111111111
Expected behavior
$.fn.payment('formatCardNumber') should include spaces every 4 digits.
Actual behavior
$.fn.payment('formatCardNumber') does not include spaces every 4 digits on Chrome.
OS: Linux simoncpu 3.13.0-96-generic #143-Ubuntu SMP Mon Aug 29 20:15:20 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Non-working Chrome version: Google Chrome 55.0.2873.0 dev Working Chrome version: Google Chrome 53.0.2785.116
Steps to reproduce