Make SVG size argument optional (#12814)

Now defaults to 16 on both frontend and backend.

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
silverwindandtechknowlogick authored and GitHub committed 2020-09-11 16:19:00 -04:00
1 parent 26c4a049da
commit ffddf3f8a6
89 files changed
+458 -455

No files matched your search

+1 -1
View File
@@ -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);
}