diff --git a/examples/html/entityProperties.html b/examples/html/entityProperties.html index 0acbd633c1..8fb8cdc9f3 100644 --- a/examples/html/entityProperties.html +++ b/examples/html/entityProperties.html @@ -1237,8 +1237,8 @@ var options = elDropdowns[i].getElementsByTagName("option"); var selectedOption = 0; for (var j = 0; j < options.length; j++) { - if (options[i].getAttribute("selected") === "selected") { - selectedOption = i; + if (options[j].getAttribute("selected") === "selected") { + selectedOption = j; } } var div = elDropdowns[i].parentNode; @@ -1739,7 +1739,7 @@
-