diff --git a/assets/form.js b/assets/form.js index 081f0fe..a62b70e 100644 --- a/assets/form.js +++ b/assets/form.js @@ -288,9 +288,9 @@ function setupDropdownPushStates () { suggested.onchange = function (e) { var value = this.value try { - layer1.selectedIndex = suggestedLayers[value][0] + 1 + layer1.selectedIndex = suggestedLayers[value][0] layer1.onchange() - layer2.selectedIndex = suggestedLayers[value][1] + 1 + layer2.selectedIndex = suggestedLayers[value][1] layer2.onchange() } catch (e) {} }