[frontend] Fix js error on foreachVisible disposal
var resizeWrapper = function () {
var totalHeight = 0;
var lastKnownHeights = $parentFVOwnerElement.data('lastKnownHeights');
+ if (!lastKnownHeights) {
+ return;
+ }
$.each(lastKnownHeights, function(idx, height) {
totalHeight += height;
});
var setStartAndEndFromScrollTop = function () {
var lastKnownHeights = $parentFVOwnerElement.data('lastKnownHeights');
+ if (!lastKnownHeights) {
+ return;
+ }
var parentSpace = 0;
