angular-payments icon indicating copy to clipboard operation
angular-payments copied to clipboard

IE8 support

Open oblador opened this issue 11 years ago • 1 comments

Throws a lot of errors on IE8 including Error: 'undefined' is null or not an object after each letter you type in the card number field. Would be nice to support it.

oblador avatar Jul 16 '14 18:07 oblador

Confirmed to not work on IE8. One example is this line:

  $target = angular.element(e.currentTarget);

Whereas IE8 requires using:

  var el = (event.currentTarget) ? event.currentTarget : event.srcElement;
  $target = angular.element(el);

Any plans to support IE8? I might dig into it more depending on my requirements for a project I'm working on.

dmix avatar Jul 24 '14 17:07 dmix