diff --git a/module/rdd-resolution-table.js b/module/rdd-resolution-table.js index 7af9777c..e4ba1ca6 100644 --- a/module/rdd-resolution-table.js +++ b/module/rdd-resolution-table.js @@ -205,8 +205,8 @@ export class RdDResolutionTable { let table = $("") .append(this._buildHTMLHeader(this.resolutionTable[0], minLevel, maxLevel)); - for (var caracValue = minCarac; caracValue <= maxCarac; caracValue++) { - table.append(this._buildHTMLRow(this.resolutionTable[caracValue], caracValue, caracValue, levelValue, minLevel, maxLevel)); + for (var rowIndex = minCarac; rowIndex <= maxCarac; rowIndex++) { + table.append(this._buildHTMLRow(this.resolutionTable[rowIndex], rowIndex, caracValue, levelValue, minLevel, maxLevel)); } return table; }