summaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
Diffstat (limited to 'web_src')
-rw-r--r--web_src/js/features/contextpopup.js2
-rw-r--r--web_src/js/markdown/anchors.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/web_src/js/features/contextpopup.js b/web_src/js/features/contextpopup.js
index 2597c18014..a9a0ceee3b 100644
--- a/web_src/js/features/contextpopup.js
+++ b/web_src/js/features/contextpopup.js
@@ -65,7 +65,7 @@ function issuePopup(owner, repo, index, $element) {
html: `
<div>
<p><small>${issue.repository.full_name} on ${createdAt}</small></p>
- <p><span class="${color}">${svg(octicon, 16)}</span> <strong>${issue.title}</strong> #${index}</p>
+ <p><span class="${color}">${svg(octicon)}</span> <strong>${issue.title}</strong> #${index}</p>
<p>${body}</p>
${labels}
</div>
diff --git a/web_src/js/markdown/anchors.js b/web_src/js/markdown/anchors.js
index 73c38eef32..b7d0a1f608 100644
--- a/web_src/js/markdown/anchors.js
+++ b/web_src/js/markdown/anchors.js
@@ -23,7 +23,7 @@ export default function initMarkdownAnchors() {
const a = document.createElement('a');
a.classList.add('anchor');
a.setAttribute('href', `#${encodeURIComponent(originalId)}`);
- a.innerHTML = svg('octicon-link', 16);
+ a.innerHTML = svg('octicon-link');
heading.prepend(a);
}