afterpay.js duplicate display keys in object
-
I think there is an error in afterpay.js with this code:
$popup_outer = $(document.createElement('div')) .attr('id', 'afterpay-popup-outer') .css({ 'display': '-ms-flexbox', 'display': '-webkit-flex', 'display': 'flex', '-webkit-justify-content': 'center', '-ms-flex-pack': 'center', 'justify-content': 'center', '-webkit-align-content': 'center', '-ms-flex-line-pack': 'center', 'align-content': 'center', '-webkit-align-items': 'center', '-ms-flex-align': 'center', 'align-items': 'center', 'width': '100%', 'min-height': '100%', 'background-color': 'rgba(0, 0, 0, 0.80)' }) .appendTo($popup_wrapper);This fails to compress with google closure because of the duplicate display keys. I don’t think -ms-flexbox and -webkit-flex is really required anymore.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘afterpay.js duplicate display keys in object’ is closed to new replies.