Update bootstrap from 3.4.1 to 4.3.1
This commit is contained in:
@@ -40,10 +40,10 @@
|
||||
|
||||
$el = $(this);
|
||||
$($el).height('auto');
|
||||
topPostion = $el.position().top;
|
||||
topPostion = $el.position().top;
|
||||
|
||||
if (currentRowStart != topPostion) {
|
||||
for (currentDiv = 0 ; currentDiv < rowDivs.length ; currentDiv++) {
|
||||
for (currentDiv = 0; currentDiv < rowDivs.length; currentDiv++) {
|
||||
rowDivs[currentDiv].height(currentTallest);
|
||||
}
|
||||
rowDivs.length = 0; // empty the array
|
||||
@@ -54,7 +54,7 @@
|
||||
rowDivs.push($el);
|
||||
currentTallest = (currentTallest < $el.height()) ? ($el.height()) : (currentTallest);
|
||||
}
|
||||
for (currentDiv = 0 ; currentDiv < rowDivs.length ; currentDiv++) {
|
||||
for (currentDiv = 0; currentDiv < rowDivs.length; currentDiv++) {
|
||||
rowDivs[currentDiv].height(currentTallest);
|
||||
}
|
||||
});
|
||||
@@ -84,12 +84,12 @@
|
||||
var heightIsSet;
|
||||
|
||||
// On load
|
||||
$(window).load(function() {
|
||||
$(window).on('load', function() {
|
||||
equalHeightChecker();
|
||||
});
|
||||
|
||||
// and on resize
|
||||
$(window).resize(function(){
|
||||
$(window).on('resize', function(){
|
||||
equalHeightChecker();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user