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

update components

This commit is contained in:
Luke Pulverenti 2016-07-21 13:23:25 -04:00
parent b1bc63f509
commit fdb13570d7
7 changed files with 34 additions and 20 deletions

View file

@ -52,12 +52,12 @@ define(['layoutManager', 'globalize'], function (layoutManager, globalize) {
if (options.title) {
html += '<h2>' + options.title + '</h2>';
}
}
var text = options.html || options.text;
if (text) {
html += '<div>' + text + '</div>';
html += '<div style="margin:1em 0;">' + text + '</div>';
}
html += '<div class="buttons">';