This commit is contained in:
David Ralph
2020-08-28 22:07:02 +01:00
parent 5016cf3e69
commit b5e55fd331

View File

@@ -70,7 +70,7 @@ export default class Background extends React.PureComponent {
data = await fetch(requestURL);
data = await data.json();
if (data.statusCode === 429) return this.doOffline(); // If we hit the ratelimit, we fallback to local quotes
if (data.statusCode === 429) return this.doOffline(); // If we hit the ratelimit, we fallback to local images
document.getElementById('backgroundImage').setAttribute(
'style', `-webkit-filter:blur(${localStorage.getItem('blur')}px); background-image: url(${data.file})`