Minor fixes with lockscreen

This commit is contained in:
grey committed 2025-05-03 14:34:09 +02:00
1 parent 7b08d6e03f
commit aafaf4dd9e
2 files changed
+13 -3

No files matched your search

+2 -2
View File
@@ -23,7 +23,7 @@ function handleImage() {
// default galery; spring awakens
uuid: '01919dec-b2cd-7adc-8ca2-a071d1169cbc;01953de0-3aa7-71f1-bfff-cbf9488efa64',
unsplash: true,
// orientation: 'landscape',
orientation: 'landscape',
height: window.screen.availHeight,
width: window.screen.availWidth,
cropCenteringMode: 'sm'
@@ -79,7 +79,7 @@ function handleImage() {
}, 1000);
// Set the credits
credits.innerHTML = `Photo by <a href="${data.user.links.html}" class="external-link" target="_blank">${data.user.name}</a>`;
credits.innerHTML = `"${data.title}" by <a href="${data.user.links.html}" class="external-link" target="_blank">${data.user.name}</a>`;
credits.style.zIndex = 300000;
}
})