mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Merge pull request #228 from Somebi/patch-1
Update js/jquery.tablesorter.js
This commit is contained in:
commit
270e88f035
@ -551,7 +551,7 @@
|
|||||||
return this.each(function() {
|
return this.each(function() {
|
||||||
// if no thead or tbody, or tablesorter is already present, quit
|
// if no thead or tbody, or tablesorter is already present, quit
|
||||||
if (!this.tHead || this.tBodies.length === 0 || this.hasInitialized === true) {
|
if (!this.tHead || this.tBodies.length === 0 || this.hasInitialized === true) {
|
||||||
return (this.config.debug) ? log('stopping initialization! No thead, tbody or tablesorter has already been initialized') : '';
|
return (this.config && this.config.debug) ? log('stopping initialization! No thead, tbody or tablesorter has already been initialized') : '';
|
||||||
}
|
}
|
||||||
// declare
|
// declare
|
||||||
var $cell, $this = $(this), $t0 = this,
|
var $cell, $this = $(this), $t0 = this,
|
||||||
@ -1389,4 +1389,4 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
})(jQuery);
|
})(jQuery);
|
||||||
|
Loading…
Reference in New Issue
Block a user