mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 11:28:23 -07:00
10 lines
263 B
JavaScript
10 lines
263 B
JavaScript
Dashboard.confirm = function (message, title, callback) {
|
|
require(['confirm'], function (confirm) {
|
|
|
|
confirm(message, title).then(function () {
|
|
callback(true);
|
|
}, function () {
|
|
callback(false);
|
|
});
|
|
});
|
|
}; |