From 854d7369e7be089d757b0e8c2d364c5e4d497224 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 20 May 2014 19:23:10 +0200 Subject: [PATCH] Remove now unused JS code and CSS rules --- public/css/vroom.css | 4 ---- public/js/vroom.js | 14 -------------- 2 files changed, 18 deletions(-) diff --git a/public/css/vroom.css b/public/css/vroom.css index fb46e29..4a91801 100644 --- a/public/css/vroom.css +++ b/public/css/vroom.css @@ -188,10 +188,6 @@ width: 149px; height: 149px; } -.panelIndex { - text-align: justify; - text-justify:inter-word; -} .carouselLogo { margin: auto; padding: 60px; diff --git a/public/js/vroom.js b/public/js/vroom.js index e43ea8e..68a77b6 100644 --- a/public/js/vroom.js +++ b/public/js/vroom.js @@ -134,11 +134,6 @@ function chooseColor(){ return colors[Math.floor(Math.random() * colors.length)]; } -// set the height of the thumbnails so they are always equals -function setPanelHeight() { - $('.panelIndex').height(Math.max.apply(null, $('.panelIndex').map(function() { return $(this).height(); }))); -} - // Just play a sound function playSound(sound){ var audio = new Audio(rootUrl + 'snd/' + sound); @@ -200,15 +195,6 @@ function maxHeight(){ return $(window).height()-$('#toolbar').height()-25; } -setTimeout(function(){ - setPanelHeight(); -}, 50); - -// Resize a few element on window resize -window.onresize = function (){ - setPanelHeight(); -}; - function initVroom(room) { var peers = {