${p.title}
@@ -174,13 +174,6 @@ function getPdfLink(p) {
function openPdfBtn(btn) { openPdf(btn.dataset.pdf, btn.dataset.title); }
-function openTrans(btn) {
- const url = btn.dataset.pdf;
- const title = btn.dataset.title;
- openPdf(url, title);
- // If translation doesn't exist, the iframe will show error - user can see it
-}
-
// βββββββββββββββ PDF VIEWER (ηΆζζ‘ι©±ε¨) βββββββββββββββ
function getLocalPdfUrl(extUrl) {
const am = extUrl.match(/arxiv\.org\/pdf\/(\d+\.\d+)/);
diff --git a/static/index.html b/static/index.html
index a4c8337..881e3b7 100644
--- a/static/index.html
+++ b/static/index.html
@@ -190,7 +190,7 @@ function renderPaper(p) {
// Show translation button for ALL papers with arxiv or pdf
const paperId = p.arxiv || (p.pdf ? p.pdf.split('/').pop().replace('.pdf','') : null);
if (paperId) {
- links.push('
');
+ links.push('
');
}
return `
${p.year||'β'}
${p.title}
@@ -207,13 +207,6 @@ function getPdfLink(p) {
function openPdfBtn(btn) { openPdf(btn.dataset.pdf, btn.dataset.title); }
-function openTrans(btn) {
- const url = btn.dataset.pdf;
- const title = btn.dataset.title;
- openPdf(url, title);
- // If translation doesn't exist, the iframe will show error - user can see it
-}
-
// βββββββββββββββ PDF VIEWER (ηΆζζ‘ι©±ε¨) βββββββββββββββ
function getLocalPdfUrl(extUrl) {
const am = extUrl.match(/arxiv\.org\/pdf\/(\d+\.\d+)/);