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

trim jquery mobile

This commit is contained in:
Luke Pulverenti 2015-11-27 12:46:58 -05:00
parent 316fce063a
commit 301fd258bb
35 changed files with 359 additions and 661 deletions

View file

@ -1012,17 +1012,21 @@
showPlayerSelection();
}
$(document).on('headercreated', function () {
document.addEventListener('headercreated', function () {
$('.btnCast').off('click', onCastButtonClicked).on('click', onCastButtonClicked);
}).on('pagebeforeshow', ".page", function () {
});
pageClassOn('pagebeforeshow', "page", function () {
var page = this;
currentDisplayInfo = null;
}).on('displayingitem', ".libraryPage", function (e, info) {
});
pageClassOn('displayingitem', "libraryPage", function (e, info) {
currentDisplayInfo = info;