summaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorBlender Defender <contact.blenderdefender@gmail.com>2023-03-02 20:08:02 +0100
committerGitHub <noreply@github.com>2023-03-02 13:08:02 -0600
commita14e6af236f3f01d757ca4ffe64d92a4a7a84d1f (patch)
tree6aee191aaab803b5b0f5205b474644aa65dca4b2 /web_src
parentd72462dae62b6d76ddd47f6bbadbfe0352e03f89 (diff)
downloadgitea-a14e6af236f3f01d757ca4ffe64d92a4a7a84d1f.tar.gz
gitea-a14e6af236f3f01d757ca4ffe64d92a4a7a84d1f.zip
Fix switched citation format (#23250)
Due to switched input parameters, the citation texts for Bibtex and Apa were switched. This pull request fixes #23244
Diffstat (limited to 'web_src')
-rw-r--r--web_src/js/features/citation.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/js/features/citation.js b/web_src/js/features/citation.js
index 3828845624..c40b1adddd 100644
--- a/web_src/js/features/citation.js
+++ b/web_src/js/features/citation.js
@@ -2,7 +2,7 @@ import $ from 'jquery';
const {pageData} = window.config;
-const initInputCitationValue = async ($citationCopyBibtex, $citationCopyApa) => {
+const initInputCitationValue = async ($citationCopyApa, $citationCopyBibtex) => {
const [{Cite, plugins}] = await Promise.all([
import(/* webpackChunkName: "citation-js-core" */'@citation-js/core'),
import(/* webpackChunkName: "citation-js-formats" */'@citation-js/plugin-software-formats'),