aboutsummaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorGiteabot <teabot@gitea.io>2023-03-02 15:05:10 -0500
committerGitHub <noreply@github.com>2023-03-02 14:05:10 -0600
commit9309098eab6446df0de625dfc2ec67936bdbb0f9 (patch)
tree13b1d09b1abcacdbc045f0c16a3c190c3c168caa /web_src
parent790a79b04c34d3cd209bc876cda154d66eaae22c (diff)
downloadgitea-9309098eab6446df0de625dfc2ec67936bdbb0f9.tar.gz
gitea-9309098eab6446df0de625dfc2ec67936bdbb0f9.zip
Fix switched citation format (#23250) (#23253)
Backport #23250 Due to switched input parameters, the citation texts for Bibtex and Apa were switched. This pull request fixes #23244 Co-authored-by: Blender Defender <contact.blenderdefender@gmail.com>
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'),