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

declare dependency

This commit is contained in:
Luke Pulverenti 2015-12-05 10:34:10 -05:00
parent f6b71369e3
commit a1d3c595d0
38 changed files with 155 additions and 138 deletions

View file

@ -141,15 +141,15 @@
var timers = result.Items;
var html = LiveTvHelpers.getTimersHtml(timers);
LiveTvHelpers.getTimersHtml(timers).then(function(html) {
var elem = $('.scheduleTab', page).html(html);
var elem = $('.scheduleTab', page).html(html);
$('.btnDeleteTimer', elem).on('click', function () {
$('.btnDeleteTimer', elem).on('click', function () {
var id = this.getAttribute('data-timerid');
var id = this.getAttribute('data-timerid');
deleteTimer(page, id);
deleteTimer(page, id);
});
});
}