mirror of
https://github.com/mue/mue.git
synced 2026-07-25 17:51:14 +02:00
* Fixed reset toast in background modal.
* Fixed credits dom selector I hadn't realized these bugs were in the master branch.
This commit is contained in:
@@ -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