Skip to content

Commit

Permalink
Fix switched citation format (go-gitea#23250)
Browse files Browse the repository at this point in the history
Due to switched input parameters, the citation texts for Bibtex and Apa
were switched.
This pull request fixes go-gitea#23244
  • Loading branch information
BlenderDefender authored and GiteaBot committed Mar 2, 2023
1 parent 790a79b commit e894323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web_src/js/features/citation.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down

0 comments on commit e894323

Please sign in to comment.