1
0
Fork 0
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:
Luke Pulverenti 2016-02-15 13:15:08 -05:00
parent 1d28c4f400
commit 67f859195a
2 changed files with 6 additions and 6 deletions

View file

@ -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);