fixed lockscreen up a little

This commit is contained in:
2025-03-19 21:36:47 +01:00
parent 14cf8af14b
commit cf7bd8da9c
4 changed files with 18 additions and 2 deletions

View File

@ -16,6 +16,11 @@ document.body.addEventListener('click', () => {
// Lock screen or show mode
let screenState = 'lock';
let cookieScreen = getCookie('screen');
if (cookieScreen) {
screenState = cookieScreen;
}
function handleImage() {
if (screenState === 'lock') {
fetch('https://staging.thegreydiamond.de/projects/photoPortfolio/api/getRand.php?uuid=01919dec-b2cd-7adc-8ca2-a071d1169cbc&unsplash=true&orientation=landscape')