Skip to content

Commit

Permalink
Fix switched citation format (#23250) (#23253)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
GiteaBot and BlenderDefender authored Mar 2, 2023
1 parent 790a79b commit 9309098
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 9309098

Please sign in to comment.