diff --git a/public/css/loader.css b/public/css/loader.css index 1c73c4e3f..6fe9812b6 100644 --- a/public/css/loader.css +++ b/public/css/loader.css @@ -10,8 +10,6 @@ width: 100svw; height: 100svh; background-color: var(--SmartThemeBlurTintColor); - /*for some reason the full screen blur does not work on iOS*/ - backdrop-filter: blur(30px); color: var(--SmartThemeBodyColor); opacity: 1; } diff --git a/public/scripts/loader.js b/public/scripts/loader.js index b991e1ee0..2df5f6edf 100644 --- a/public/scripts/loader.js +++ b/public/scripts/loader.js @@ -1,7 +1,5 @@ import { POPUP_RESULT, POPUP_TYPE, Popup } from './popup.js'; -const ELEMENT_ID = 'loader'; - /** @type {Popup} */ let loaderPopup; @@ -31,7 +29,7 @@ export async function hideLoader() { return new Promise((resolve) => { // Spinner blurs/fades out $('#load-spinner').on('transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd', function () { - $(`#${ELEMENT_ID}`).remove(); + $('#loader').remove(); // Yoink preloader entirely; it only exists to cover up unstyled content while loading JS // If it's present, we remove it once and then it's gone. yoinkPreloader();