Fixed variable scope in generateElements method of Beepers.js

10.3.x-maintenance
Christian Mengler 2018-06-15 10:58:49 +10:00
parent 40ed78ab35
commit afdffc18b9
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ Beepers.prototype.isEnabled = function (beeperName) {
Beepers.prototype.generateElements = function (template, destination) {
var self = this;
for (i = 0; i < self._beepers.length; i++) {
for (var i = 0; i < self._beepers.length; i++) {
if (self._beepers[i].visible) {
var element = template.clone();
destination.append(element);