mirror of
https://github.com/kiwix/kiwix-js-pwa.git
synced 2025-09-08 19:57:46 -04:00
Generalize use of params
Former-commit-id: 6c2ee8a2f2b56ce6a7481b81510bb627e5fddd9b [formerly c4d1fb07f6cf85ee4e75869c7880362d46092d50] Former-commit-id: 9c043b290475203ff14260d743bd65e463c6f4fc
This commit is contained in:
parent
a823b04bba
commit
b76b52252b
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user