waschinski / photo-stream

Self-hosted, super simple photo stream
https://github.com/waschinski/photo-stream
MIT License
449 stars 70 forks source link

Numeric-only image names break the arrow key JS. #8

Closed danbush closed 3 years ago

danbush commented 3 years ago

I'm pretty sure this is probably just a situation where something should be explicitly made a string, but I hadn't found where that should go because it was just easier for me to rename my files.

waschinski commented 3 years ago

Thanks for reporting this. Numeric IDs were indeed causing problems with the CSS selector so I simply added a prefix (id-) to the IDs to basically force them to be a string.

danbush commented 3 years ago

perfect, thats basically what I did as a temp fix but in reverse. thank you!