Skip to content

Commit 4284d7f

Browse files
committed
parse true ID from id with _
1 parent 9b71d0c commit 4284d7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/popup/js/popup.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ const popupMain = async (url, is, manualTrigger = false) => {
239239
// ----- SVG clicks -----
240240
// ------------------------
241241
addListener(`popup-memory-item-scirate--${id}`, "click", () => {
242-
const arxivId = paper.id.split("-").last();
242+
const arxivId = paper.id.split("-").last().replace("_", "/");
243243
const scirateURL = `https://scirate.com/arxiv/${arxivId}`;
244244
chrome.tabs.update({ url: scirateURL });
245245
window.close();

0 commit comments

Comments
 (0)