mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 11:48:09 +02:00
Fix dropdowns
This commit is contained in:
parent
0b70da1581
commit
cfc5c36f05
1 changed files with 3 additions and 3 deletions
|
@ -1237,8 +1237,8 @@
|
||||||
var options = elDropdowns[i].getElementsByTagName("option");
|
var options = elDropdowns[i].getElementsByTagName("option");
|
||||||
var selectedOption = 0;
|
var selectedOption = 0;
|
||||||
for (var j = 0; j < options.length; j++) {
|
for (var j = 0; j < options.length; j++) {
|
||||||
if (options[i].getAttribute("selected") === "selected") {
|
if (options[j].getAttribute("selected") === "selected") {
|
||||||
selectedOption = i;
|
selectedOption = j;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
var div = elDropdowns[i].parentNode;
|
var div = elDropdowns[i].parentNode;
|
||||||
|
@ -1739,7 +1739,7 @@
|
||||||
<div class="sub-section-header zone-group zone-section background-section">
|
<div class="sub-section-header zone-group zone-section background-section">
|
||||||
<label>Background</label>
|
<label>Background</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="zone-section zone-group background-section property dropdown">
|
<div class="zone-group zone-section background-section property dropdown">
|
||||||
<label>Background mode</label>
|
<label>Background mode</label>
|
||||||
<select name="SelectBackgroundMode" id="property-zone-background-mode">
|
<select name="SelectBackgroundMode" id="property-zone-background-mode">
|
||||||
<option value="inherit">Nothing</option>
|
<option value="inherit">Nothing</option>
|
||||||
|
|
Loading…
Reference in a new issue