1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-05 17:54:26 +00:00
gitea/modules/timeutil
silverwind 20b3a90450
Remove useless JS operation for relative time tooltips (#20756)
This operation that shifts the content from title to data-content is
useless when we can directly render the expected HTML instead.

This change does prevent these tooltips from working when the user has
JS disabled in their browser, but I think we made it clear by now that
JS is required for gitea to work properly.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2022-08-12 17:03:41 -04:00
..
executable.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
language.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
since_test.go Remove useless JS operation for relative time tooltips (#20756) 2022-08-12 17:03:41 -04:00
since.go Remove useless JS operation for relative time tooltips (#20756) 2022-08-12 17:03:41 -04:00
timestamp.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00