From a3b57061059733dfc8cc7ddbd368c0e95f129b52 Mon Sep 17 00:00:00 2001 From: Tim Tucker Date: Sun, 30 Sep 2012 20:11:36 -0300 Subject: [PATCH] Update media/src/core/core.ajax.js Remove unnecessary else(s) --- media/src/core/core.ajax.js | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/media/src/core/core.ajax.js b/media/src/core/core.ajax.js index 11669e09..23f13a59 100644 --- a/media/src/core/core.ajax.js +++ b/media/src/core/core.ajax.js @@ -1,5 +1,4 @@ - /** * Update the table using an Ajax call * @param {object} oSettings dataTables settings object @@ -22,10 +21,7 @@ function _fnAjaxUpdate( oSettings ) }, oSettings ); return false; } - else - { - return true; - } + return true; } @@ -133,10 +129,7 @@ function _fnAjaxUpdateDraw ( oSettings, json ) { return; } - else - { - oSettings.iDraw = json.sEcho * 1; - } + oSettings.iDraw = json.sEcho * 1; } if ( !oSettings.oScroll.bInfinite ||