diff options
Diffstat (limited to 'core/misc/tableresponsive.js')
-rw-r--r-- | core/misc/tableresponsive.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/misc/tableresponsive.js b/core/misc/tableresponsive.js index e13acce40d8..b4eab625c82 100644 --- a/core/misc/tableresponsive.js +++ b/core/misc/tableresponsive.js @@ -9,7 +9,8 @@ attach: function (context, settings) { var $tables = $(context).find('table.responsive-enabled').once('tableresponsive'); if ($tables.length) { - for (var i = 0, il = $tables.length; i < il; i++) { + var il = $tables.length; + for (var i = 0; i < il; i++) { TableResponsive.tables.push(new TableResponsive($tables[i])); } } |