0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-12 18:52:15 +01:00
gitea/web_src
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
..
fomantic
fonts/noto-color-emoji
js Prevent clone protocol button flash on page load (#13626) 2020-11-26 22:31:09 +02:00
less Prevent clone protocol button flash on page load (#13626) 2020-11-26 22:31:09 +02:00
svg