mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-23 19:11:58 +01:00
Fix switched citation format (#23250)
Due to switched input parameters, the citation texts for Bibtex and Apa were switched. This pull request fixes #23244
This commit is contained in:
parent
d72462dae6
commit
a14e6af236
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ import $ from 'jquery';
|
||||||
|
|
||||||
const {pageData} = window.config;
|
const {pageData} = window.config;
|
||||||
|
|
||||||
const initInputCitationValue = async ($citationCopyBibtex, $citationCopyApa) => {
|
const initInputCitationValue = async ($citationCopyApa, $citationCopyBibtex) => {
|
||||||
const [{Cite, plugins}] = await Promise.all([
|
const [{Cite, plugins}] = await Promise.all([
|
||||||
import(/* webpackChunkName: "citation-js-core" */'@citation-js/core'),
|
import(/* webpackChunkName: "citation-js-core" */'@citation-js/core'),
|
||||||
import(/* webpackChunkName: "citation-js-formats" */'@citation-js/plugin-software-formats'),
|
import(/* webpackChunkName: "citation-js-formats" */'@citation-js/plugin-software-formats'),
|
||||||
|
|
Loading…
Reference in a new issue