applying filters when chaning url. closes #1994

This commit is contained in:
Jack 2021-10-12 15:32:56 +01:00
parent 3e64f30b6a
commit e163d13e68

View file

@ -4,6 +4,7 @@ import * as Misc from "./misc";
import Config from "./config";
import * as UI from "./ui";
import tinycolor from "tinycolor2";
import * as BackgroundFilter from "./custom-background-filter";
let isPreviewingTheme = false;
export let randomTheme = null;
@ -199,6 +200,8 @@ export function applyCustomBackground() {
src: Config.customBackground,
});
$(".customBackground").html($img);
BackgroundFilter.apply();
applyCustomBackgroundSize();
}
}