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": {},
|
"devDependencies": {},
|
||||||
"ignore": [],
|
"ignore": [],
|
||||||
"version": "1.0.80",
|
"version": "1.0.81",
|
||||||
"_release": "1.0.80",
|
"_release": "1.0.81",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "1.0.80",
|
"tag": "1.0.81",
|
||||||
"commit": "8731709cda608e5dcc8dfc17c253fb6a8c266a51"
|
"commit": "60dfd52a18f23047b6d6b08973ab0b77585f9a90"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/MediaBrowser/emby-webcomponents.git",
|
"_source": "git://github.com/MediaBrowser/emby-webcomponents.git",
|
||||||
"_target": "~1.0.0",
|
"_target": "~1.0.0",
|
||||||
|
|
|
@ -6,12 +6,12 @@ define([], function () {
|
||||||
|
|
||||||
if (typeof options === 'string') {
|
if (typeof options === 'string') {
|
||||||
options = {
|
options = {
|
||||||
title: '',
|
label: '',
|
||||||
text: options
|
text: options
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
var result = prompt(options.title || '', options.text || '');
|
var result = prompt(options.label || '', options.text || '');
|
||||||
|
|
||||||
if (result) {
|
if (result) {
|
||||||
resolve(result);
|
resolve(result);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue