Ruben commited on
Commit
aca21a2
1 Parent(s): a2092d0
Makefile CHANGED
@@ -5,7 +5,7 @@ build-client:
5
  cd frontend && npm install && npm run build && rm -rf ../static && cp -r build/ ../static/
6
 
7
  build-dev:
8
- cd frontend && rm -rf node-modules && npm install && NODE_ENV=development npm run build && rm -rf ../static 2>&1 && cp -rv build/ ../static/
9
 
10
  run-dev:
11
  FLASK_DEBUG=development python app.py
 
5
  cd frontend && npm install && npm run build && rm -rf ../static && cp -r build/ ../static/
6
 
7
  build-dev:
8
+ cd frontend && rm -rf node_modules && npm install && NODE_ENV=development npm run build && rm -rf ../static 2>&1 && cp -rv build/ ../static/
9
 
10
  run-dev:
11
  FLASK_DEBUG=development python app.py
frontend/src/lib/ParamsSelector.svelte CHANGED
@@ -15,8 +15,8 @@
15
  }
16
 
17
  function updateModifier(event) {
18
- const selectedIndex = event.currentTarget.selectedIndex;
19
- modifier = PRESETS[selectedIndex-1][0];
20
  submit();
21
  }
22
 
 
15
  }
16
 
17
  function updateModifier(event) {
18
+ const selectedIndex = event.currentTarget.selectedIndex - 1;
19
+ modifier = PRESETS[selectedIndex][0];
20
  submit();
21
  }
22