diff --git a/dashboard-ui/cordova/chromecast.js b/dashboard-ui/cordova/chromecast.js index 00f1fd7545..8d0935c17a 100644 --- a/dashboard-ui/cordova/chromecast.js +++ b/dashboard-ui/cordova/chromecast.js @@ -285,8 +285,8 @@ name = (name || '').toLowerCase(); var validTokens = ['nexusplayer']; - //validTokens.push('chromecast'); - //validTokens.push('eurekadongle'); + validTokens.push('chromecast'); + validTokens.push('eurekadongle'); return validTokens.filter(function (t) { diff --git a/dashboard-ui/scripts/extensions.js b/dashboard-ui/scripts/extensions.js index 06d8b1ae3e..fd88fbf037 100644 --- a/dashboard-ui/scripts/extensions.js +++ b/dashboard-ui/scripts/extensions.js @@ -251,7 +251,7 @@ function humane_date(date_str) { return Math.round(seconds / 4730400000) + ' centuries' + token; return date_str; -}; +} function humane_elapsed(firstDateStr, secondDateStr) { var dt1 = new Date(firstDateStr); diff --git a/dashboard-ui/scripts/librarymenu.js b/dashboard-ui/scripts/librarymenu.js index f6f232e166..f9e3664787 100644 --- a/dashboard-ui/scripts/librarymenu.js +++ b/dashboard-ui/scripts/librarymenu.js @@ -510,7 +510,7 @@ setTimeout(function () { Dashboard.navigate(link.href); - }, 350); + }, 400); }, 50); } @@ -525,7 +525,7 @@ setTimeout(function () { Dashboard.logout(); - }, 350); + }, 400); } return false; diff --git a/dashboard-ui/thirdparty/jquery.unveil-custom.js b/dashboard-ui/thirdparty/jquery.unveil-custom.js index 15ae8dff5f..333e589027 100644 --- a/dashboard-ui/thirdparty/jquery.unveil-custom.js +++ b/dashboard-ui/thirdparty/jquery.unveil-custom.js @@ -81,14 +81,6 @@ function getThreshold() { - // If less than 100, the search window ends up not getting images - // If less than 200, this happens on the home page - // Need to fix those before this can be set to 0 - - //if (window.AppInfo && AppInfo.isNativeApp && $.browser.safari) { - // return 7000; - //} - var screens = $.browser.mobile ? 2.5 : 1; // This helps eliminate the draw-in effect as you scroll @@ -136,12 +128,12 @@ images = remaining; if (!images.length) { - Events.off(window, 'scroll.' + eventNamespace); + Events.off(document, 'scroll.' + eventNamespace); Events.off(window, 'resize.' + eventNamespace); } } - Events.on(window, 'scroll.' + eventNamespace, unveil); + Events.on(document, 'scroll.' + eventNamespace, unveil); Events.on(window, 'resize.' + eventNamespace, unveil); unveil();