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

15 lines
353 B
JavaScript

define([], function () {
'use strict';
return function (view, params) {
var self = this;
view.addEventListener('viewbeforeshow', function (e) {
var elem = view.querySelector('#appVersionNumber');
elem.innerHTML = elem.innerHTML.replace('{0}', ConnectionManager.appVersion());
});
}
});