jellyfin-web/dashboard-ui/legacy/dashboard.js
Luke Pulverenti 88d6c63263 use strict
2016-10-23 01:11:46 -04:00

12 lines
282 B
JavaScript

Dashboard.confirm = function (message, title, callback) {
'use strict';
require(['confirm'], function (confirm) {
confirm(message, title).then(function () {
callback(true);
}, function () {
callback(false);
});
});
};