jellyfin-web/dashboard-ui/scripts/aboutpage.js
2014-04-05 11:02:50 -04:00

15 lines
377 B
JavaScript

(function ($, document, apiClient) {
$(document).on('pageshow', "#aboutPage", function () {
var page = this;
apiClient.getSystemInfo().done(function (info) {
var elem = $('#appVersionNumber', page);
elem.html(elem.html().replace('{0}', info.Version));
});
});
})(jQuery, document, ApiClient);