Skip to content

Commit

Permalink
Fix switched citation format (#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 #23244
  • Loading branch information
BlenderDefender authored Mar 2, 2023
1 parent d72462d commit a14e6af
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 a14e6af

Please sign in to comment.