mirror of
https://github.com/DataTables/DataTables.git
synced 2025-01-30 23:52:11 +01:00
Merge branch 'master' of github.com:DataTables/DataTables
This commit is contained in:
commit
e6248382c6
4
media/js/jquery.dataTables.js
vendored
4
media/js/jquery.dataTables.js
vendored
@ -536,12 +536,12 @@
|
|||||||
/* Loop over each instance of the pager */
|
/* Loop over each instance of the pager */
|
||||||
var an = oSettings.aanFeatures.p;
|
var an = oSettings.aanFeatures.p;
|
||||||
var anButtons, anStatic, nPaginateList;
|
var anButtons, anStatic, nPaginateList;
|
||||||
var fnClick = function() {
|
var fnClick = function(e) {
|
||||||
/* Use the information in the element to jump to the required page */
|
/* Use the information in the element to jump to the required page */
|
||||||
var iTarget = (this.innerHTML * 1) - 1;
|
var iTarget = (this.innerHTML * 1) - 1;
|
||||||
oSettings._iDisplayStart = iTarget * oSettings._iDisplayLength;
|
oSettings._iDisplayStart = iTarget * oSettings._iDisplayLength;
|
||||||
fnCallbackDraw( oSettings );
|
fnCallbackDraw( oSettings );
|
||||||
return false;
|
e.preventDefault();
|
||||||
};
|
};
|
||||||
var fnFalse = function () { return false; };
|
var fnFalse = function () { return false; };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user