diff options
author | 2024-03-18 10:56:26 +0100 | |
---|---|---|
committer | 2024-03-18 16:09:32 -0700 | |
commit | 91f5522ce01518ddb0e1df2cda8a54099959faab (patch) | |
tree | 45957a2e5faa70ef2cd7d8f43dd31d2f986f6ddd /internal/ui/static/js | |
parent | 8212f16aa21015f9c81ea6caa72996f4c55cef7e (diff) | |
download | v2-91f5522ce01518ddb0e1df2cda8a54099959faab.tar.gz v2-91f5522ce01518ddb0e1df2cda8a54099959faab.tar.zst v2-91f5522ce01518ddb0e1df2cda8a54099959faab.zip |
Minor simplification of internal/reader/media/media.go
- Simplify a switch-case by moving a common condition above it.
- Remove a superfluous error-check: `strconv.ParseInt` returns `0` when passed
an empty string.
Diffstat (limited to 'internal/ui/static/js')
0 files changed, 0 insertions, 0 deletions