]> source.dussan.org Git - gitea.git/commit
Fix bogus http requests on diffs (#13760)
authorsilverwind <me@silverwind.io>
Mon, 30 Nov 2020 17:47:01 +0000 (18:47 +0100)
committerGitHub <noreply@github.com>
Mon, 30 Nov 2020 17:47:01 +0000 (12:47 -0500)
commit21cf205dc770d637a9ba636644cf8bf690cc100d
tree064c58b380f4bd8c231bc6ceed39759e48a69989
parentd7ab72681d109ea3d0057df3fd2a96f6c7aff382
Fix bogus http requests on diffs (#13760)

The .blob-excerpt elements don't have these data attributes in some
cases resulting in bogus http request when expanding a diff and clicking
into the expanded area. This prevents those.

Should backport to 1.13.

Fixes: https://github.com/go-gitea/gitea/issues/13759
web_src/js/index.js