update native prompt
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user