From 500c9f061c1fdf70fdd0ffbfbc204f0c32b9f843 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Tue, 14 Apr 2015 15:54:48 -0400 Subject: [PATCH] removed return --- public/src/client/pagination.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/public/src/client/pagination.js b/public/src/client/pagination.js index e2df0a6ebe..57bdee7f9e 100644 --- a/public/src/client/pagination.js +++ b/public/src/client/pagination.js @@ -23,12 +23,10 @@ define('forum/pagination', function() { callback = callback || function() {}; page = parseInt(page, 10); if (!utils.isNumber(page) || page < 1 || page > pagination.pageCount) { - callback(false); - return false; + return; } var url = window.location.pathname.slice(1).split('/').slice(0, 3).join('/') + '?page=' + page; ajaxify.go(url, callback); - return true; }; return pagination;