Skip to content

Commit e894323

Browse files
BlenderDefenderGiteaBot
authored andcommitted
Fix switched citation format (go-gitea#23250)
Due to switched input parameters, the citation texts for Bibtex and Apa were switched. This pull request fixes go-gitea#23244
1 parent 790a79b commit e894323

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/features/citation.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import $ from 'jquery';
22

33
const {pageData} = window.config;
44

5-
const initInputCitationValue = async ($citationCopyBibtex, $citationCopyApa) => {
5+
const initInputCitationValue = async ($citationCopyApa, $citationCopyBibtex) => {
66
const [{Cite, plugins}] = await Promise.all([
77
import(/* webpackChunkName: "citation-js-core" */'@citation-js/core'),
88
import(/* webpackChunkName: "citation-js-formats" */'@citation-js/plugin-software-formats'),

0 commit comments

Comments
 (0)