|
@@ -137,12 +137,12 @@ var projectCards;
|
|
let el = document.getElementById("recent-post-cards").children;
|
|
let el = document.getElementById("recent-post-cards").children;
|
|
let maxHeight = 0;
|
|
let maxHeight = 0;
|
|
for (let i = 0; i < el.length; i++) {
|
|
for (let i = 0; i < el.length; i++) {
|
|
- if (el[i].children[0].clientHeight > maxHeight) {
|
|
|
|
- maxHeight = el[i].children[0].clientHeight;
|
|
|
|
|
|
+ if (el[i].children[1].clientHeight > maxHeight) {
|
|
|
|
+ maxHeight = el[i].children[1].clientHeight;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
for (let i = 0; i < el.length; i++) {
|
|
for (let i = 0; i < el.length; i++) {
|
|
- el[i].children[0].setAttribute("style", "min-height: " + maxHeight + "px;")
|
|
|
|
|
|
+ el[i].children[1].setAttribute("style", "min-height: " + maxHeight + "px;")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|