From 331bb267fdffbab6c46de5ecdcc8e61ab62fbe33 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Mon, 24 Nov 2014 19:13:12 -0500 Subject: [PATCH] fix issue clicking on latest tv --- dashboard-ui/css/site.css | 7 +++++++ dashboard-ui/scripts/librarybrowser.js | 4 +--- dashboard-ui/scripts/supporterpage.js | 4 ++-- dashboard-ui/scripts/tvlatest.js | 2 +- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/dashboard-ui/css/site.css b/dashboard-ui/css/site.css index e7b24b56b2..1fbac54e0e 100644 --- a/dashboard-ui/css/site.css +++ b/dashboard-ui/css/site.css @@ -45,10 +45,17 @@ margin-left: 0; } +/* jQuery mobile adds a text shadow that seems unnecessary. */ * { text-shadow: none !important; } +/* Remove IE mobile 300ms tap delay */ +html { + -ms-touch-action: manipulation; + touch-action: manipulation; +} + body { overflow-y: scroll !important; font-size: 13px; diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js index 1783c0409d..dc070eedf7 100644 --- a/dashboard-ui/scripts/librarybrowser.js +++ b/dashboard-ui/scripts/librarybrowser.js @@ -1200,9 +1200,7 @@ cssClass += ' ' + LibraryBrowser.getUserDataCssClass(item.UserData.Key); } - // The click through hasn't been working on chrome android - // The > 1 can be removed once this is resolved - if (options.showChildCountIndicator && item.ChildCount > 1) { + if (options.showChildCountIndicator) { cssClass += ' groupedCard'; if (item.Type == 'Series') { diff --git a/dashboard-ui/scripts/supporterpage.js b/dashboard-ui/scripts/supporterpage.js index 2ef812c815..32ba39d685 100644 --- a/dashboard-ui/scripts/supporterpage.js +++ b/dashboard-ui/scripts/supporterpage.js @@ -43,10 +43,10 @@ return $(".radioDonationType:checked", page).val(); } - var lifeTimeAmount = 40; + var lifeTimeAmount = 30; var dailyAmount = 1; var monthlyAmount = 4; - var yearlyAmount = 24; + var yearlyAmount = 20; function getDonationAmount(page) { var type = getDonationType(page); diff --git a/dashboard-ui/scripts/tvlatest.js b/dashboard-ui/scripts/tvlatest.js index a7150b1313..b6b737191b 100644 --- a/dashboard-ui/scripts/tvlatest.js +++ b/dashboard-ui/scripts/tvlatest.js @@ -12,7 +12,7 @@ var options = { IncludeItemTypes: "Episode", - Limit: screenWidth >= 1600 ? 24 : (screenWidth >= 1440 ? 16 : 15), + Limit: 24, Fields: "PrimaryImageAspectRatio", ParentId: parentId, IsPlayed: false