diff options
author | Giteabot <teabot@gitea.io> | 2023-03-02 15:05:10 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-02 14:05:10 -0600 |
commit | 9309098eab6446df0de625dfc2ec67936bdbb0f9 (patch) | |
tree | 13b1d09b1abcacdbc045f0c16a3c190c3c168caa /web_src | |
parent | 790a79b04c34d3cd209bc876cda154d66eaae22c (diff) | |
download | gitea-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.js | 2 |
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'), |