diff --git a/dashboard-ui/bower_components/emby-webcomponents/prompt/prompt.js b/dashboard-ui/bower_components/emby-webcomponents/prompt/prompt.js index abdb383a6..246734ebd 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/prompt/prompt.js +++ b/dashboard-ui/bower_components/emby-webcomponents/prompt/prompt.js @@ -2,8 +2,13 @@ define(['dialogHelper', 'layoutManager', 'scrollHelper', 'globalize', 'require', function setInputProperties(dlg, options) { var txtInput = dlg.querySelector('#txtInput'); + + if (txtInput.label) { + txtInput.label(options.label || ''); + } else { + txtInput.setAttribute('label', options.label || ''); + } txtInput.value = options.value || ''; - txtInput.label(options.label || ''); } function showDialog(options, template) {