mirror of
https://github.com/mue/mue.git
synced 2026-07-14 20:43:54 +02:00
Merge commit '30c50968a218e6a8326fba041a2703fd57b119c4' into colorGradientPicker
This commit is contained in:
@@ -8,7 +8,7 @@ export default class MainModal extends React.PureComponent {
|
||||
constructor(...args) {
|
||||
super(...args);
|
||||
this.state = {
|
||||
tab: <Settings language={this.props.language.settings} toastLanguage={this.props.toastLanguage} />,
|
||||
tab: <Settings language={this.props.language.settings} toastLanguage={this.props.language.toasts} />,
|
||||
settingsActive: 'active',
|
||||
addonsActive: '',
|
||||
marketplaceActive: ''
|
||||
|
||||
@@ -34,7 +34,7 @@ export default class Background extends React.PureComponent {
|
||||
`${background}; -webkit-filter: blur(${localStorage.getItem('blur')}px) brightness(${brightness}%);`
|
||||
);
|
||||
|
||||
if (credit === 'false') document.querySelector('#credits').style.display = 'none'; // Hide the credit
|
||||
if (credit === 'false' && document.querySelector('#credits')) document.querySelector('#credits').style.display = 'none'; // Hide the credit
|
||||
}
|
||||
|
||||
setCredit(photographer, unsplash, url) {
|
||||
|
||||
Reference in New Issue
Block a user