0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 12:14:38 +01:00
gitea/templates
silverwind 7bc0c8cff6
Prevent clone protocol button flash on page load (#13626)
* Prevent clone protocol button flash on page load

Previously, the saved active buttons would flash on page load because if
delay involved in JS execution. Prevent these flashes bydisabling
transitions on page load and run the script right after. It's not an
ideal solution (which would require server-side storage of user
settings like this) but I'd say better than before.

* add defer

Co-authored-by: zeripath <art27@cantab.net>
2020-11-26 22:31:09 +02:00
..
admin CSS navbar and color tweaks (#13609) 2020-11-26 19:33:28 +00:00
base
custom
explore
mail
org
pwa
repo Prevent clone protocol button flash on page load (#13626) 2020-11-26 22:31:09 +02:00
shared
status
swagger
user CSS navbar and color tweaks (#13609) 2020-11-26 19:33:28 +00:00
home.tmpl
install.tmpl
post-install.tmpl