1
0
mirror of https://github.com/dani/vroom.git synced 2024-06-17 19:59:13 +02:00

Set thumbnail height

So they are always equals, not matter which one is biggest, the others will adapt
This commit is contained in:
Daniel Berteaud 2014-05-04 01:16:51 +02:00
parent 1ef8ead6da
commit 77c5552d84

View File

@ -9,6 +9,8 @@ Copyright 2014 Firewall Services
$.notify.defaults( { globalPosition: "bottom left" } );
// Enable tooltip on required elements
$('.help').tooltip({container: 'body'});
// set the height of the thumbnails so they are always equals
$(".thumbnail").height(Math.max.apply(null, $(".thumbnail").map(function() { return $(this).height(); })));
// Strings we need translated
var locale = {