2
0
Fork 0

Localize examples

This commit is contained in:
Alex Kotov 2023-03-26 06:09:48 +04:00
parent 4083be409e
commit 6a134a4f42
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
1 changed files with 7 additions and 3 deletions

View File

@ -162,9 +162,13 @@ window.leqsikoni = {
})
}
items_html.push(
'<li>' + highlighted.join('') + ' &mdash; ' + right + '</li>'
)
var item_html = '<li>' + highlighted.join('')
if (right) {
item_html += ' &mdash; ' + right
}
item_html += '</li>'
items_html.push(item_html)
})
if (items_html.length === 0) {