Skip to content

Commit

Permalink
fix var/let
Browse files Browse the repository at this point in the history
  • Loading branch information
liborm85 committed Aug 28, 2024
1 parent bfd0de7 commit fb5de75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/layoutBuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -512,8 +512,8 @@ LayoutBuilder.prototype.processColumns = function (columnNode) {
};

LayoutBuilder.prototype.findStartingSpanCell = function (arr, i) {
let requiredColspan = 1;
for (let index = i - 1; index >= 0; index--) {
var requiredColspan = 1;
for (var index = i - 1; index >= 0; index--) {
if (!arr[index]._span) {
if (arr[index].rowSpan > 1 && (arr[index].colSpan || 1) === requiredColspan) {
return arr[index];
Expand Down

0 comments on commit fb5de75

Please sign in to comment.