1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Added a useful comment

This commit is contained in:
Hadi Charara 2022-07-05 20:49:51 -04:00
parent 233e182251
commit a27ababb3e

View file

@ -212,6 +212,7 @@ const attributeDelimiterHtml = layoutManager.tv ? '' : '<span class="hide">: </s
return html; return html;
} }
// File Paths should be always ltr. The isLtr parameter allows this.
function createAttribute(label, value, isLtr) { function createAttribute(label, value, isLtr) {
return `<span class="mediaInfoLabel">${label}</span>${attributeDelimiterHtml}<span class="mediaInfoAttribute" ${isLtr && 'dir="ltr"'}>${escapeHtml(value)}</span>\n`; return `<span class="mediaInfoLabel">${label}</span>${attributeDelimiterHtml}<span class="mediaInfoAttribute" ${isLtr && 'dir="ltr"'}>${escapeHtml(value)}</span>\n`;
} }