mirror of
https://github.com/mue/mue.git
synced 2026-07-18 22:44:08 +02:00
fix: translation cleanup
This commit is contained in:
@@ -111,7 +111,7 @@ export default class Background extends React.PureComponent {
|
||||
this.setBackground(randomPhoto.url.default, null, randomPhoto.photographer);
|
||||
this.setCredit(randomPhoto.photographer);
|
||||
document.getElementById('location').textContent = randomPhoto.location;
|
||||
} else if (customBackgroundColour) {
|
||||
} else if (customBackgroundColour !== 'Disabled' && customBackgroundColour !== '') {
|
||||
this.setBackground(null, customBackgroundColour, 'false');
|
||||
} else if (customBackground !== '') {
|
||||
if (customBackground.includes('.mp4') || customBackground.includes('.webm') || customBackground.includes('.ogg')) {
|
||||
|
||||
@@ -91,7 +91,9 @@ export default class Quote extends React.PureComponent {
|
||||
}
|
||||
|
||||
let authorlink = `https://${this.props.languagecode.split('-')[0]}.wikipedia.org/wiki/${data.author.split(' ').join('_')}`;
|
||||
if (localStorage.getItem('authorLink') === 'false') authorLink = null;
|
||||
if (localStorage.getItem('authorLink') === 'false') {
|
||||
authorLink = null;
|
||||
}
|
||||
|
||||
this.setState({
|
||||
quote: '"' + data.quote + '"',
|
||||
|
||||
Reference in New Issue
Block a user