mirror of
https://github.com/mue/mue.git
synced 2026-07-18 14:34:12 +02:00
consistency
This commit is contained in:
@@ -14,10 +14,10 @@ export default class Background extends React.Component {
|
||||
|
||||
root.style.backgroundImage = `url(${data.file})`;
|
||||
document.getElementById('photographer').innerText = `Photo by ${data.photographer}`;
|
||||
document.getElementById('location').innerText = `${data.location}`;
|
||||
document.getElementById('location').innerText = `${data.location}`;
|
||||
} catch (e) {
|
||||
document.getElementById('backgroundCredits').style.display = 'none';
|
||||
document.getElementById('photographer').innerText = 'Photo from Pexels';
|
||||
document.getElementById('photographer').innerText = 'Photo from Pexels';
|
||||
root.style.backgroundImage = `url(../offline-images/${randomInt(1, 25)}.jpeg)`;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user