From da04311c95a07bf014aedde02af42b88a7605273 Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Sat, 17 Nov 2012 08:10:34 +0000 Subject: [PATCH] integration:bootstrap - Fix leaking global - 12739 --- integration/bootstrap/dataTables.bootstrap.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration/bootstrap/dataTables.bootstrap.js b/integration/bootstrap/dataTables.bootstrap.js index d9b15be..4a3caf5 100644 --- a/integration/bootstrap/dataTables.bootstrap.js +++ b/integration/bootstrap/dataTables.bootstrap.js @@ -56,7 +56,7 @@ $.extend( $.fn.dataTableExt.oPagination, { var iListLength = 5; var oPaging = oSettings.oInstance.fnPagingInfo(); var an = oSettings.aanFeatures.p; - var i, j, sClass, iStart, iEnd, iHalf=Math.floor(iListLength/2); + var i, ien, j, sClass, iStart, iEnd, iHalf=Math.floor(iListLength/2); if ( oPaging.iTotalPages < iListLength) { iStart = 1; @@ -73,7 +73,7 @@ $.extend( $.fn.dataTableExt.oPagination, { iEnd = iStart + iListLength - 1; } - for ( i=0, iLen=an.length ; i