Fix Fullscreen double click bug, Default size for photos

- Reset the value of swiped when changing photo
This commit is contained in:
2020-04-08 14:33:06 +02:00
parent b28fd9b8fe
commit 6ff05fea48
2 changed files with 5 additions and 2 deletions

View File

@@ -55,7 +55,7 @@
<source media="(min-width: 768px)" data-srcset={getThumbnail(private_hash, 992)}>
<source media="(min-width: 500px)" data-srcset={getThumbnail(private_hash, 650)}>
<source media="(min-width: 300px)" data-srcset={getThumbnail(private_hash, 400)}>
<img src={layout === 'list' ? 'data:image/png;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=' : getThumbnail(private_hash, 900)}
<img src={getThumbnail(private_hash, 900)}
width={defaultWidth} height={defaultHeight}
alt={imgAlt}
class:lazyload={layout === 'list'}