Add missing variable declarations
This fixes warnings from LGTM:
Variable i is used like a local variable,
but is missing a declaration.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
2
templates/Sparkle/assets/js/domains.js
vendored
2
templates/Sparkle/assets/js/domains.js
vendored
@@ -35,7 +35,7 @@ $(document).ready(function() {
|
||||
$('#phpsettingid option').each(function() {
|
||||
var pid = $(this).val();
|
||||
$(this).attr("disabled", "disabled");
|
||||
for (i in json) {
|
||||
for (var i in json) {
|
||||
if (pid == json[i]) {
|
||||
$(this).removeAttr("disabled");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user