Fix eslint no-redeclare in es5 files
[MAILPOET-1146]
This commit is contained in:
committed by
Rostislav Wolný
parent
fa44127efa
commit
3b2355d570
@@ -731,8 +731,8 @@ define(
|
||||
});
|
||||
|
||||
// start array index from 1
|
||||
Handlebars.registerHelper('calculate_index', function (index) {
|
||||
var index = parseInt(index);
|
||||
Handlebars.registerHelper('calculate_index', function (rawIndex) {
|
||||
var index = parseInt(rawIndex);
|
||||
// display filler data (e.g., ellipsis) if we've reached the maximum number of rows and
|
||||
// subscribers count is greater than the maximum number of rows we're displaying
|
||||
if (index === maxRowsToShow && subscribers.subscribersCount > (maxRowsToShow + 1)) {
|
||||
|
Reference in New Issue
Block a user