1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-19 08:45:04 +01:00
gitea/web_src/js
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
..
components Remove fetch request from heatmap (#13623) 2020-11-18 16:00:16 -06:00
features Remove fetch request from heatmap (#13623) 2020-11-18 16:00:16 -06:00
markdown
standalone
vendor
easymde.js
index.js Prevent clone protocol button flash on page load (#13626) 2020-11-26 22:31:09 +02:00
jquery.js
publicpath.js
serviceworker.js
svg.js
utils.js