mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-25 23:06:24 +08:00

The $-function is unreachable in the previous implementation because jQuery is not loaded yet. I fix this by executing the function after the content is loaded, so jQuery is loaded at the time of execution and the call will not fail anymore. Signed-off-by: Felix Nehrke <felix@nehrke.info>