We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 695a5c7 + a828707 commit 5291327Copy full SHA for 5291327
assets/js/script.js
@@ -1,8 +1,19 @@
1
jQuery(document).ready(function($){
2
+ var equalHeight = function(group) {
3
+ var tallest = 0;
4
+ group.each(function() {
5
+ var thisHeight = $(this).height();
6
+ if(thisHeight > tallest) {
7
+ tallest = thisHeight;
8
+ }
9
+ });
10
+ group.height(tallest);
11
+ };
12
$('.open-menu').on('click', function(e){
13
e.preventDefault();
14
$('.mobile-header').toggleClass('visible');
15
$('.mobile-navigation').toggleClass('visible');
16
return false;
17
});
18
+ equalHeight($(".card"));
19
0 commit comments