Skip to content

Commit

Permalink
Merge pull request #9 from wowmom98/patch-1
Browse files Browse the repository at this point in the history
make suggested layers work
  • Loading branch information
gjtorikian authored Aug 11, 2018
2 parents 8f5de32 + 891504f commit 2b2c710
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {}
}
Expand Down

0 comments on commit 2b2c710

Please sign in to comment.