Skip to content

Commit

Permalink
Move the parameter to the end of the function.
Browse files Browse the repository at this point in the history
Move the parameter to the end of the function for backward compatibility purposes.
  • Loading branch information
AlexDEVpro authored Mar 16, 2019
1 parent 60362bf commit 61dfc19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sorting/datetime-moment.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
}
}(function ($, moment) {

$.fn.dataTable.moment = function ( format, reverseEmpties, locale ) {
$.fn.dataTable.moment = function ( format, locale, reverseEmpties ) {
var types = $.fn.dataTable.ext.type;

// Add type detection
Expand Down

0 comments on commit 61dfc19

Please sign in to comment.