From 926a8c6d553aaaa5266603b385c036796b16544b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Rynning-T=C3=B8nnesen?= Date: Fri, 26 Jun 2015 16:54:24 +0200 Subject: [PATCH] Fixed upperlowercase bug with remotecontroll, ended up putting everything to lowercase, but showing uppercase because of CSS and looks. Updated looks of nochan.js and remotecontroller.js to be more similar to all other js files --- static/build-js/main-fp.js | 2 +- static/build-js/main.js | 2 +- static/build-js/remotecontroller-min.js | 2 +- static/js/hostcontroller.js | 1 + static/js/nochan.js | 111 +++++++++++++----------- static/js/remotecontroller.js | 74 ++++++++-------- 6 files changed, 102 insertions(+), 90 deletions(-) diff --git a/static/build-js/main-fp.js b/static/build-js/main-fp.js index b561e1a8..6e2eee80 100644 --- a/static/build-js/main-fp.js +++ b/static/build-js/main-fp.js @@ -1 +1 @@ -!function(){function e(e){var n="",a=0;e.sort(t),pre_card=$(o);for(x in e){var i=e[x][3];if(20>a){var s=e[x][1],l=e[x][0],r="background-image:url('https://img.youtube.com/vi/"+s+"/hqdefault.jpg');",c=e[x][4],d=pre_card;d.find(".chan-name").text(i),d.find(".chan-name").attr("title",i),d.find(".chan-views").text(l),d.find(".chan-songs").text(c),d.find(".chan-bg").attr("style",r),d.find(".chan-link").attr("href",i),$("#channels").append(d.html())}n+="