From b5e55fd331f06d7f7b6540e24db9226d4de72021 Mon Sep 17 00:00:00 2001 From: David Ralph Date: Fri, 28 Aug 2020 22:07:02 +0100 Subject: [PATCH] oops --- src/components/widgets/Background.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/widgets/Background.jsx b/src/components/widgets/Background.jsx index 65d27220..75ee4180 100644 --- a/src/components/widgets/Background.jsx +++ b/src/components/widgets/Background.jsx @@ -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})`