Set thumbnail height

So they are always equals, not matter which one is biggest, the others will adapt
master
Daniel Berteaud 11 years ago
parent 1ef8ead6da
commit 77c5552d84
  1. 2
      public/js/vroom.js

@ -9,6 +9,8 @@ Copyright 2014 Firewall Services
$.notify.defaults( { globalPosition: "bottom left" } ); $.notify.defaults( { globalPosition: "bottom left" } );
// Enable tooltip on required elements // Enable tooltip on required elements
$('.help').tooltip({container: 'body'}); $('.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 // Strings we need translated
var locale = { var locale = {

Loading…
Cancel
Save