]> git.ipfire.org Git - thirdparty/tvheadend.git/commit
Do not use number hardcoding in recording details dialog
authorDavid Kalnischkies <david@kalnischkies.de>
Mon, 28 Aug 2023 20:24:38 +0000 (20:24 +0000)
committerFlole <Flole998@users.noreply.github.com>
Tue, 9 Sep 2025 18:31:51 +0000 (20:31 +0200)
commitb944feb3ce3cb459213f4d0135ad4d9307b29767
treee48f357317240d03616f9837579a6eaec66c8a9c
parent1edfaba452b4cdfca8994a1b881e2fb5e0f9c467
Do not use number hardcoding in recording details dialog

Programmers can count, we all know that, so instead of proofing (and
occasionally failing) it in code, lets do away with hardcoding here
and just use an object with named members which is also a bit shorter
and easier to extend.
src/webui/static/app/dvr.js