Skip to content

Instantly share code, notes, and snippets.

View jamietotten's full-sized avatar

Jamie Totten jamietotten

View GitHub Profile

Keybase proof

I hereby claim:

  • I am jamietotten on github.
  • I am jamietotten (https://keybase.io/jamietotten) on keybase.
  • I have a public key ASC-r84tLH27MyzbjFywqyhLJIOvsDulMqyjizh-gRMlEAo

To claim this, I am signing this object:

@jamietotten
jamietotten / Make all columns equal heights
Created May 26, 2014 20:45
Reusable Tricks and Tips
// Makes all columns equal height
function fixColumns(wrapperClass, innerClass) {
$(wrapperClass).each(function () {
var maxHeight = 0;
$(this).find(innerClass).each(function () {
$(this).css('min-height', 0);
maxHeight = Math.max($(this).outerHeight(), maxHeight);
})