From e5ea38de878ae6ed936060f9b17af7935119f056 Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Fri, 23 Oct 2015 13:37:46 +0100 Subject: [PATCH] Sorting - fix syntax error in moment plugin --- 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 13b05b1..d886690 100644 --- a/sorting/datetime-moment.js +++ b/sorting/datetime-moment.js @@ -29,7 +29,7 @@ $.fn.dataTable.moment = function ( format, locale ) { types.detect.unshift( function ( d ) { // Strip HTML tags if possible if ( d && d.replace ) { - d = d.replace(/<.*?>/g, '') ) { + d = d.replace(/<.*?>/g, ''); } // Null and empty values are acceptable