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.