From 02e924e3c5e582e17c99709fb8944ed482d57111 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 18 Feb 2016 13:19:18 -0500 Subject: [PATCH] update live tv images --- dashboard-ui/scripts/livetvcomponents.js | 2 +- dashboard-ui/scripts/livetvseriestimer.js | 4 +++- dashboard-ui/scripts/livetvtimers.js | 4 +++- dashboard-ui/thirdparty/paper-button-style.css | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/dashboard-ui/scripts/livetvcomponents.js b/dashboard-ui/scripts/livetvcomponents.js index 7931af5bce..adc1e18c51 100644 --- a/dashboard-ui/scripts/livetvcomponents.js +++ b/dashboard-ui/scripts/livetvcomponents.js @@ -43,7 +43,7 @@ } if (imgUrl) { - html += ''; + html += ''; } else if (program.IsKids) { html += ''; diff --git a/dashboard-ui/scripts/livetvseriestimer.js b/dashboard-ui/scripts/livetvseriestimer.js index aa6ea665db..9c23f41465 100644 --- a/dashboard-ui/scripts/livetvseriestimer.js +++ b/dashboard-ui/scripts/livetvseriestimer.js @@ -144,7 +144,9 @@ var timers = result.Items; LiveTvHelpers.getTimersHtml(timers).then(function(html) { - var elem = $('.scheduleTab', page).html(html); + var elem = $('.scheduleTab', page).html(html)[0]; + + ImageLoader.lazyChildren(elem); $('.btnDeleteTimer', elem).on('click', function () { diff --git a/dashboard-ui/scripts/livetvtimers.js b/dashboard-ui/scripts/livetvtimers.js index 49c29216cc..7ec5e5eea5 100644 --- a/dashboard-ui/scripts/livetvtimers.js +++ b/dashboard-ui/scripts/livetvtimers.js @@ -22,7 +22,9 @@ function renderTimers(page, timers) { LiveTvHelpers.getTimersHtml(timers).then(function (html) { - var elem = $('#items', page).html(html); + var elem = $('#items', page).html(html)[0]; + + ImageLoader.lazyChildren(elem); $('.btnDeleteTimer', elem).on('click', function () { diff --git a/dashboard-ui/thirdparty/paper-button-style.css b/dashboard-ui/thirdparty/paper-button-style.css index 8da574464f..659fe0720f 100644 --- a/dashboard-ui/thirdparty/paper-button-style.css +++ b/dashboard-ui/thirdparty/paper-button-style.css @@ -240,7 +240,7 @@ paper-dialog[role="alertdialog"] + iron-overlay-backdrop { } paper-tabs { - background-color: #111; + background-color: #080808; color: #fff; box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.2); }