1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

enable unified routing

This commit is contained in:
Luke Pulverenti 2016-03-16 01:33:31 -04:00
parent 2360213901
commit 154f6b5fd8
133 changed files with 6988 additions and 7112 deletions

View file

@ -1,12 +1,13 @@
(function ($, document) {
define([], function () {
$(document).on('pageshow', "#aboutPage", function () {
return function (view, params) {
var page = this;
var elem = $('#appVersionNumber', page);
var self = this;
elem.html(elem.html().replace('{0}', ConnectionManager.appVersion()));
});
view.addEventListener('viewbeforeshow', function (e) {
var elem = view.querySelector('#appVersionNumber');
})(jQuery, document);
elem.innerHTML = elem.innerHTML.replace('{0}', ConnectionManager.appVersion());
});
}
});