mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 11:28:23 -07:00
10 lines
222 B
JavaScript
10 lines
222 B
JavaScript
define([], function () {
|
|
return function (options) {
|
|
|
|
var result = prompt(options.text, options.defaultText || '');
|
|
|
|
if (options.callback) {
|
|
options.callback(result);
|
|
}
|
|
};
|
|
}); |