From 61dfc198c2593f36daac834cbb5e93c2cbd227af Mon Sep 17 00:00:00 2001 From: Alexander Date: Sat, 16 Mar 2019 17:52:57 +0300 Subject: [PATCH] Move the parameter to the end of the function. Move the parameter to the end of the function for backward compatibility purposes. --- sorting/datetime-moment.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sorting/datetime-moment.js b/sorting/datetime-moment.js index 1f12b13b..f937531b 100644 --- a/sorting/datetime-moment.js +++ b/sorting/datetime-moment.js @@ -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