Fix double blur on preloader

aef879ced0b99ca363356aa0fa511f1eeba7b3a9

Cohee <18619528+Cohee1207@users.noreply.github.com>

2 files changed, +1 -5Ignore whitespace
public/css/loader.css+0 -2
@@ -10,8 +10,6 @@
1010 width: 100svw;
1111 height: 100svh;
1212 background-color: var(--SmartThemeBlurTintColor);
13- /*for some reason the full screen blur does not work on iOS*/
14- backdrop-filter: blur(30px);
1513 color: var(--SmartThemeBodyColor);
1614 opacity: 1;
1715}
public/scripts/loader.js+1 -3
@@ -1,7 +1,5 @@
11import { POPUP_RESULT, POPUP_TYPE, Popup } from './popup.js';
22
3-const ELEMENT_ID = 'loader';
4-
53/** @type {Popup} */
64let loaderPopup;
75
@@ -31,7 +29,7 @@ export async function hideLoader() {
3129 return new Promise((resolve) => {
3230 // Spinner blurs/fades out
3331 $('#load-spinner').on('transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd', function () {
3432 $(`'#${ELEMENT_ID}`loader').remove();
3533 // Yoink preloader entirely; it only exists to cover up unstyled content while loading JS
3634 // If it's present, we remove it once and then it's gone.
3735 yoinkPreloader();