Skip to content

Commit

Permalink
fix issue with 'display:flex', closes #77
Browse files Browse the repository at this point in the history
  • Loading branch information
liabru committed Nov 10, 2015
1 parent 44ed2fe commit dc53a49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jquery.matchHeight.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@
display = $that.css('display');

// temporarily force a usable display value
if (display !== 'inline-block' && display !== 'inline-flex') {
if (display !== 'inline-block' && display !== 'flex' && display !== 'inline-flex') {
display = 'block';
}

Expand Down Expand Up @@ -223,7 +223,7 @@
display = $that.css('display');

// temporarily force a usable display value
if (display !== 'inline-block' && display !== 'inline-flex') {
if (display !== 'inline-block' && display !== 'flex' && display !== 'inline-flex') {
display = 'block';
}

Expand Down

0 comments on commit dc53a49

Please sign in to comment.