mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 19:15:58 +01:00 
			
		
		
		
	hiding search buttons and route when search is not configured
This commit is contained in:
		| @@ -104,7 +104,8 @@ module.exports.server = server; | ||||
| 					clientScripts: clientScripts, | ||||
| 					navigation: custom_header.navigation, | ||||
| 					'cache-buster': meta.config['cache-buster'] ? 'v=' + meta.config['cache-buster'] : '', | ||||
| 					allowRegistration: meta.config.allowRegistration === undefined || parseInt(meta.config.allowRegistration, 10) === 1 | ||||
| 					allowRegistration: meta.config.allowRegistration === undefined || parseInt(meta.config.allowRegistration, 10) === 1, | ||||
| 					searchEnabled: plugins.hasListeners('filter:search.query') ? true : false | ||||
| 				}, | ||||
| 				escapeList = { | ||||
| 					'&': '&', | ||||
|   | ||||
		Reference in New Issue
	
	Block a user