mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-06-29 03:26:16 +00:00
LocalHost by default in Debug mode
Image resolutions are now requested as width x height Readded logout button to the settings page
This commit is contained in:
parent
a6c06ae39c
commit
e784ca3011
8 changed files with 92 additions and 94 deletions
|
@ -35,7 +35,7 @@ function loadOnView() {
|
|||
let image = lazyLoad[i];
|
||||
if (image.getBoundingClientRect().top < window.innerHeight && image.getBoundingClientRect().bottom > 0) {
|
||||
if (!image.src) {
|
||||
image.src = `/api/file/${image.getAttribute('data-src')}?w=400&h=400`
|
||||
image.src = `/api/file/${image.getAttribute('data-src')}?r=thumb`
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue