1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05: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 CSS color variables, less bold font weight and more (#13567) 2020-11-15 15:58:16 -05:00
fonts/noto-color-emoji Fonts rework (#12114) 2020-07-06 11:56:54 +03:00
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 Gitea 2 Gitea migration (#12657) 2020-10-14 07:06:00 +03:00