fixed js intentation

This commit is contained in:
Gabriele Musco 2021-04-19 11:47:00 +02:00
parent 3631685b4d
commit a5547fbdac
No known key found for this signature in database
GPG Key ID: 8539FD3454380B83
1 changed files with 6 additions and 6 deletions

View File

@ -1,11 +1,11 @@
<script>
function renderTags(tags) {
if (tags.length <= 0) return '';
let res = '| <span title="tags"></span>';
for (let tag of tags) {
res += `<a href="/tags/${tag}">#${tag}</a>`;
}
return res;
if (tags.length <= 0) return '';
let res = '| <span title="tags"></span>';
for (let tag of tags) {
res += `<a href="/tags/${tag}">#${tag}</a>`;
}
return res;
}
function renderImage(image) {
if (!image) return '';