diff options
Diffstat (limited to 'wqflask/wqflask/static/new/packages/DataTables/src/ext/ext.paging.js')
-rwxr-xr-x | wqflask/wqflask/static/new/packages/DataTables/src/ext/ext.paging.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/wqflask/wqflask/static/new/packages/DataTables/src/ext/ext.paging.js b/wqflask/wqflask/static/new/packages/DataTables/src/ext/ext.paging.js index 4183646a..10f5e6e8 100755 --- a/wqflask/wqflask/static/new/packages/DataTables/src/ext/ext.paging.js +++ b/wqflask/wqflask/static/new/packages/DataTables/src/ext/ext.paging.js @@ -1,6 +1,6 @@ /* * Variable: oPagination - * Purpose: + * Purpose: * Scope: jQuery.fn.dataTableExt */ $.extend( DataTable.ext.oPagination, { @@ -83,7 +83,7 @@ $.extend( DataTable.ext.oPagination, { /* Previous page */ nNode.className = ( oSettings._iDisplayStart === 0 ) ? oClasses.sPagePrevDisabled : oClasses.sPagePrevEnabled; - + /* Next page */ nNode = nNode.nextSibling; nNode.className = ( oSettings.fnDisplayEnd() == oSettings.fnRecordsDisplay() ) ? @@ -241,12 +241,12 @@ $.extend( DataTable.ext.oPagination, { /* Update the permanent button's classes */ anButtons = nNode.getElementsByTagName('a'); anStatic = [ - anButtons[0], anButtons[1], + anButtons[0], anButtons[1], anButtons[anButtons.length-2], anButtons[anButtons.length-1] ]; $(anStatic).removeClass( oClasses.sPageButton+" "+oClasses.sPageButtonActive+" "+oClasses.sPageButtonStaticDisabled ); - $([anStatic[0], anStatic[1]]).addClass( + $([anStatic[0], anStatic[1]]).addClass( (iCurrentPage==1) ? oClasses.sPageButtonStaticDisabled : oClasses.sPageButton |