remove unused variable max_option_size

This commit is contained in:
Campbell Allen 2014-09-16 08:39:48 +01:00
parent 8eb0a6125a
commit 74163cf8a9

View File

@ -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,