Remove uneccessary curly brackets

v1.18.x
RoiEX 8 years ago
parent fcda832052
commit 6420e22453

@ -20,13 +20,13 @@ function generateXML() {
{ _attr: { xmlns: 'http://a9.com/-/spec/opensearch/1.1/' } }, { _attr: { xmlns: 'http://a9.com/-/spec/opensearch/1.1/' } },
{ ShortName: String(meta.config.title || meta.config.browserTitle || 'NodeBB') }, { ShortName: String(meta.config.title || meta.config.browserTitle || 'NodeBB') },
{ Description: String(meta.config.description || '') }, { Description: String(meta.config.description || '') },
{ Url: [{ { Url: {
_attr: { _attr: {
type: 'text/html', type: 'text/html',
method: 'get', method: 'get',
template: nconf.get('url') + '/search?term={searchTerms}&in=titlesposts', template: nconf.get('url') + '/search?term={searchTerms}&in=titlesposts',
}, },
}] }, } },
], ],
}], { declaration: true, indent: '\t' }); }], { declaration: true, indent: '\t' });
} }

Loading…
Cancel
Save