Skip to content

Commit

Permalink
remove { and } from authors display
Browse files Browse the repository at this point in the history
  • Loading branch information
vict0rsch committed May 6, 2022
1 parent 4435ce7 commit 780bb49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/popup/js/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ const popupMain = async (url, is, manualTrigger = false) => {
// ----- Fill Paper Data -----
// -----------------------------
setTextId("popup-paper-title", paper.title.replaceAll("\n", ""));
setTextId("popup-authors", cutAuthors(paper.author, 350));
setTextId("popup-authors", cutAuthors(paper.author, 350).replace(/({|})/g, ""));
if (paper.codeLink) {
showId("popup-code-link");
setTextId("popup-code-link", paper.codeLink.replace(/^https?:\/\//, ""));
Expand Down

0 comments on commit 780bb49

Please sign in to comment.