From 34db074bf05122d601598b00b2a9ff66f97aa779 Mon Sep 17 00:00:00 2001 From: Derk-Jan Hartman Date: Mon, 8 Oct 2012 01:54:44 +0200 Subject: [PATCH] Fix an issue with the data-sort-type retrieval. The treatment of attributes with embedded dashes was changed in jQuery 1.6 to conform to the W3C HTML5 specification. Hyphenated names become camel-cased. Change-Id: I4ac2ebdc1ba8350b9696e516f62ba803fa8fb46b --- resources/jquery/jquery.tablesorter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/jquery/jquery.tablesorter.js b/resources/jquery/jquery.tablesorter.js index 3ef71d573c..2940d6f2be 100644 --- a/resources/jquery/jquery.tablesorter.js +++ b/resources/jquery/jquery.tablesorter.js @@ -151,7 +151,7 @@ for ( i = 0; i < len; i++ ) { parser = false; - sortType = $headers.eq( i ).data( 'sort-type' ); + sortType = $headers.eq( i ).data( 'sortType' ); if ( sortType !== undefined ) { parser = getParserById( sortType ); } -- 2.20.1