From ffddf3f8a6ca5e3db46e5731d717a55eb58e858f Mon Sep 17 00:00:00 2001 From: silverwind Date: Fri, 11 Sep 2020 22:19:00 +0200 Subject: Make SVG size argument optional (#12814) Now defaults to 16 on both frontend and backend. Co-authored-by: techknowlogick --- web_src/js/markdown/anchors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web_src/js/markdown') 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); } -- cgit v1.2.3