Skip to content

Commit

Permalink
Merge pull request #455 from kmpoppe/ie11-compatibility
Browse files Browse the repository at this point in the history
Site.js in Core Module compatibility for IE11
  • Loading branch information
jasonmunro committed Feb 25, 2021
2 parents 04a52ff + 339d8a2 commit 6ed4d3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/core/site.js
Expand Up @@ -27,7 +27,7 @@ $.fn.serializeArray = function() {
parts = args[i].split('=');
res.push({'name': parts[0], 'value': parts[1]});
}
return res.map(x => {return {name: x.name, value: decodeURIComponent(x.value)}});
return res.map(function(x) {return {name: x.name, value: decodeURIComponent(x.value)}});
};
$.fn.sort = function(sort_function) {
var list = [];
Expand Down

0 comments on commit 6ed4d3a

Please sign in to comment.