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:
parent
2360213901
commit
154f6b5fd8
133 changed files with 6988 additions and 7112 deletions
|
@ -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());
|
||||
});
|
||||
}
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue