From b76b52252b015c7be0bfab47f12558c1bad7440e Mon Sep 17 00:00:00 2001 From: Jaifroid Date: Fri, 25 Aug 2017 14:26:43 +0100 Subject: [PATCH] Generalize use of params Former-commit-id: 6c2ee8a2f2b56ce6a7481b81510bb627e5fddd9b [formerly c4d1fb07f6cf85ee4e75869c7880362d46092d50] Former-commit-id: 9c043b290475203ff14260d743bd65e463c6f4fc --- www/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/js/app.js b/www/js/app.js index a0ead7bd..984fffe4 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -33,7 +33,7 @@ define(['jquery', 'zimArchiveLoader', 'util', 'uiUtil', 'cookies', 'abstractFile * Maximum number of articles to display in a search * @type Integer */ - var MAX_SEARCH_RESULT_SIZE = module.config().results; //This is set in init.js + var MAX_SEARCH_RESULT_SIZE = params['results']; //This values is controlled in init.js, as are all params variables //TESTING // Get the app's installation folder.