From 891504f327ee83899201b22ae17f51c9b77ce2f6 Mon Sep 17 00:00:00 2001 From: Rylan Date: Sat, 11 Aug 2018 02:50:30 -0400 Subject: [PATCH] make suggested layers work whenever you clicked on a suggested layer it would actually just do the layers plus one im new to programming in general so if what i did was really dumb please just undo this --- assets/form.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {} }