mirror of
https://github.com/mue/mue.git
synced 2026-07-11 18:31:47 +02:00
Fix things and add new noscript message
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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)}
|
||||
|
||||
@@ -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)}
|
||||
|
||||
Reference in New Issue
Block a user