mirror of
https://github.com/Mottie/tablesorter.git
synced 2025-01-12 15:24:21 +00:00
remove unused variable max_option_size
This commit is contained in:
parent
8eb0a6125a
commit
74163cf8a9
@ -191,7 +191,6 @@
|
|||||||
pg = Math.min( p.totalPages, p.filteredPages );
|
pg = Math.min( p.totalPages, p.filteredPages );
|
||||||
// Filter the options page number link array if it's larger than 'maxOptionSize'
|
// Filter the options page number link array if it's larger than 'maxOptionSize'
|
||||||
// as large page set links will slow the browser on large dom inserts
|
// as large page set links will slow the browser on large dom inserts
|
||||||
var max_option_size = 20,
|
|
||||||
skip_set_size = Math.floor(pg / p.maxOptionSize),
|
skip_set_size = Math.floor(pg / p.maxOptionSize),
|
||||||
large_collection = pg > p.maxOptionSize,
|
large_collection = pg > p.maxOptionSize,
|
||||||
current_page = p.page + 1,
|
current_page = p.page + 1,
|
||||||
|
Loading…
Reference in New Issue
Block a user