Generalize use of params

Former-commit-id: 6c2ee8a2f2b56ce6a7481b81510bb627e5fddd9b [formerly c4d1fb07f6cf85ee4e75869c7880362d46092d50]
Former-commit-id: 9c043b290475203ff14260d743bd65e463c6f4fc
This commit is contained in:
Jaifroid 2017-08-25 14:26:43 +01:00
parent a823b04bba
commit b76b52252b

View File

@ -33,7 +33,7 @@ define(['jquery', 'zimArchiveLoader', 'util', 'uiUtil', 'cookies', 'abstractFile
* Maximum number of articles to display in a search * Maximum number of articles to display in a search
* @type Integer * @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 //TESTING
// Get the app's installation folder. // Get the app's installation folder.