mirror of https://gitlab.com/tildes/tildes.git
Browse Source
Previously, the warning would only ever say "over a week old", even when the topic/comment was much older than that. This adds a new function to create a vague timedelta description for longer periods, and also enables the Javascript to use it as well through adding the description as a data attr on the reply button when a warning is needed, instead of duplicating the logic in JS.merge-requests/85/head
Deimos
5 years ago
6 changed files with 55 additions and 19 deletions
Loading…
Reference in new issue