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

update dialogs

This commit is contained in:
Luke Pulverenti 2016-04-09 22:27:09 -04:00
parent 89e6609ffa
commit de40062c03
7 changed files with 28 additions and 19 deletions

View file

@ -44,7 +44,9 @@ define(['dialogHelper', 'layoutManager', 'dialogText', 'html!./../prompt/icons.h
html += '</h2>';
}
if (options.text) {
var text = options.html || options.text;
if (text) {
if (options.title) {
html += '<p style="margin-top:2em;">';
@ -52,7 +54,7 @@ define(['dialogHelper', 'layoutManager', 'dialogText', 'html!./../prompt/icons.h
html += '<p>';
}
html += options.text;
html += text;
html += '</p>';
}