mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Fix IE8 class name parsers, issue #74
This commit is contained in:
parent
83ccdb2bde
commit
d54c72023d
BIN
README.markdown
BIN
README.markdown
Binary file not shown.
@ -1,5 +1,5 @@
|
|||||||
/*!
|
/*!
|
||||||
* TableSorter 2.3.3 - Client-side table sorting with ease!
|
* TableSorter 2.3.4 - Client-side table sorting with ease!
|
||||||
* @requires jQuery v1.2.6+
|
* @requires jQuery v1.2.6+
|
||||||
*
|
*
|
||||||
* Copyright (c) 2007 Christian Bach
|
* Copyright (c) 2007 Christian Bach
|
||||||
@ -18,7 +18,7 @@
|
|||||||
$.extend({
|
$.extend({
|
||||||
tablesorter: new function() {
|
tablesorter: new function() {
|
||||||
|
|
||||||
this.version = "2.3.3";
|
this.version = "2.3.4";
|
||||||
|
|
||||||
var parsers = [], widgets = [];
|
var parsers = [], widgets = [];
|
||||||
this.defaults = {
|
this.defaults = {
|
||||||
@ -165,7 +165,8 @@
|
|||||||
list = [];
|
list = [];
|
||||||
l = rows[0].cells.length;
|
l = rows[0].cells.length;
|
||||||
for (i = 0; i < l; i++) {
|
for (i = 0; i < l; i++) {
|
||||||
h = $headers.filter(':not([colspan])[data-column="'+i+'"]:last');
|
// tons of thanks to AnthonyM1229 for working out the following selector (issue #74) to make this work in IE8!
|
||||||
|
h = $headers.filter(':not([colspan])[data-column="'+i+'"]:last,[colspan="1"][data-column="'+i+'"]:last');
|
||||||
ch = c.headers[i];
|
ch = c.headers[i];
|
||||||
// get column parser
|
// get column parser
|
||||||
p = getParserById( ts.getData(h, ch, 'sorter') );
|
p = getParserById( ts.getData(h, ch, 'sorter') );
|
||||||
|
4
js/jquery.tablesorter.min.js
vendored
4
js/jquery.tablesorter.min.js
vendored
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "tablesorter",
|
"name": "tablesorter",
|
||||||
"version": "2.3.3",
|
"version": "2.3.4",
|
||||||
"title": "tablesorter",
|
"title": "tablesorter",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Christian Bach",
|
"name": "Christian Bach",
|
||||||
|
Loading…
Reference in New Issue
Block a user