Skip to content

Commit 462223e

Browse files
author
ThanhVu Nguyen
committed
updates
1 parent eca3f82 commit 462223e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ <h1>BibTeX Parser</h1>
6565
<div class="export-dropdown">
6666
<select id="exportFormat">
6767
<option value="">Select format...</option>
68-
<option value="json">JSON</option>
68+
<!-- <option value="json">JSON</option> -->
6969
<option value="bibtex">BibTeX</option>
7070
<option value="csv">CSV</option>
7171
</select>
@@ -103,7 +103,7 @@ <h1>BibTeX Parser</h1>
103103
</div>
104104

105105
<footer>
106-
<a href="https://github.com/dynaroars/bibtex" target="_blank">GitHub</a>
106+
<a href="https://code.roars.dev/bibtex">GitHub</a>
107107
</footer>
108108

109109
<div id="loadingOverlay" class="modal hidden">

src/main.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -292,11 +292,11 @@ function exportPublications(format) {
292292
let content, filename, mimeType;
293293

294294
switch (format) {
295-
case 'json':
296-
content = JSON.stringify(currentPublications, null, 2);
297-
filename = 'publications.json';
298-
mimeType = 'application/json';
299-
break;
295+
// case 'json':
296+
// content = JSON.stringify(currentPublications, null, 2);
297+
// filename = 'publications.json';
298+
// mimeType = 'application/json';
299+
// break;
300300
case 'bibtex':
301301
content = exportToBibTeX(currentPublications);
302302
filename = 'publications.bib';

0 commit comments

Comments
 (0)