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
|
@ -15,12 +15,12 @@
|
|||
},
|
||||
"devDependencies": {},
|
||||
"ignore": [],
|
||||
"version": "1.0.80",
|
||||
"_release": "1.0.80",
|
||||
"version": "1.0.81",
|
||||
"_release": "1.0.81",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "1.0.80",
|
||||
"commit": "8731709cda608e5dcc8dfc17c253fb6a8c266a51"
|
||||
"tag": "1.0.81",
|
||||
"commit": "60dfd52a18f23047b6d6b08973ab0b77585f9a90"
|
||||
},
|
||||
"_source": "git://github.com/MediaBrowser/emby-webcomponents.git",
|
||||
"_target": "~1.0.0",
|
||||
|
|
|
@ -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