We will be off on April 7th (Monday) for public holiday in our country

Commit 54f1f616 authored by Alessio Zampatti's avatar Alessio Zampatti Committed by cyattilakiss

Fix for IE11 and older browsers (#536)

* Fix for IE11 and older browsers
parent 18666122
......@@ -32,7 +32,7 @@ define(
/**
* Retrieve the list of available payment methods from the server
*/
retrieveAvailablePaymentMethods: function (callback = null) {
retrieveAvailablePaymentMethods: function (callback) {
var self = this;
// retrieve payment methods
......@@ -56,7 +56,7 @@ define(
).done(
function (response) {
self.setPaymentMethods(response);
if (callback !== null) {
if (callback) {
callback();
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment