mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update native prompt
This commit is contained in:
parent
1d28c4f400
commit
67f859195a
2 changed files with 6 additions and 6 deletions
|
@ -6,12 +6,12 @@ define([], function () {
|
|||
|
||||
if (typeof options === 'string') {
|
||||
options = {
|
||||
title: '',
|
||||
label: '',
|
||||
text: options
|
||||
};
|
||||
}
|
||||
|
||||
var result = prompt(options.title || '', options.text || '');
|
||||
var result = prompt(options.label || '', options.text || '');
|
||||
|
||||
if (result) {
|
||||
resolve(result);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue