mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Pager: use selectorRemove to remove error rows
Removes error rows with dynamically changed class names
This commit is contained in:
parent
e12785b92c
commit
5923ef0e0e
@ -1198,7 +1198,7 @@
|
|||||||
valid = true,
|
valid = true,
|
||||||
message = '',
|
message = '',
|
||||||
removeRow = function(){
|
removeRow = function(){
|
||||||
c.$table.find( 'thead' ).find( '.' + errorRow ).remove();
|
c.$table.find( 'thead' ).find( c.selectorRemove ).remove();
|
||||||
};
|
};
|
||||||
|
|
||||||
if ( !$table.length ) {
|
if ( !$table.length ) {
|
||||||
|
File diff suppressed because one or more lines are too long
2
dist/js/widgets/widget-pager.min.js
vendored
2
dist/js/widgets/widget-pager.min.js
vendored
File diff suppressed because one or more lines are too long
@ -1307,7 +1307,7 @@
|
|||||||
valid = true,
|
valid = true,
|
||||||
message = '',
|
message = '',
|
||||||
removeRow = function() {
|
removeRow = function() {
|
||||||
c.$table.find( 'thead' ).find( '.' + errorRow ).remove();
|
c.$table.find( 'thead' ).find( c.selectorRemove ).remove();
|
||||||
};
|
};
|
||||||
|
|
||||||
if ( !$table.length ) {
|
if ( !$table.length ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user