mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 19:38:20 -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);
|
|||
|
});
|
|||
|
});
|
|||
|
};
|