mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-23 16:25:22 +03:00
Fixed variable scope in generateElements method of Beepers.js
This commit is contained in:
parent
40ed78ab35
commit
afdffc18b9
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue