Fix things and add new noscript message

This commit is contained in:
David Ralph
2020-10-28 18:39:29 +00:00
parent 3c27a5baf4
commit 96377c72ed
6 changed files with 43 additions and 21 deletions

View File

@@ -40,7 +40,7 @@ export default class Section extends React.PureComponent {
<h4 className={noDropdown} onClick={() => this.toggleSection()}>{this.props.title}</h4>
{expandMore}
{slider}
<div style={{display: this.state.display}}>
<div style={{ display: this.state.display }}>
{extraHTML}
</div>
</div>

View File

@@ -162,7 +162,7 @@ export default class BackgroundSettings extends React.PureComponent {
</ul>
<ul>
<Dropdown
label={this.props.language.background.API}
label={this.props.language.background.api}
name='backgroundapi'
id='backgroundAPI'
onChange={() => localStorage.setItem('backgroundAPI', document.getElementById('backgroundAPI').value)}

View File

@@ -29,7 +29,7 @@ export default class SearchSettings extends React.PureComponent {
<React.Fragment>
<Section title={this.props.language.searchbar.title} name='searchBar'>
<ul>
<Dropdown label={this.props.language.searchbar.searchengine}
<Dropdown label={this.props.language.searchbar.search_engine}
name='searchEngine'
id='searchEngine'
onChange={() => SettingsFunctions.setSearchEngine(document.getElementById('searchEngine').value)}