Übrnahme der Einheiten
launch.json -Port für Mongo public/javascript/script.js - Einheite richtig mit abspeichern package.json: "version": "1.2.1", "date": "2023-07-06",
This commit is contained in:
2
.vscode/launch.json
vendored
2
.vscode/launch.json
vendored
@@ -13,7 +13,7 @@
|
|||||||
],
|
],
|
||||||
"program": "${workspaceFolder}/bin/www",
|
"program": "${workspaceFolder}/bin/www",
|
||||||
"env": {
|
"env": {
|
||||||
"MONGOPORT": "27098"
|
"MONGOPORT": "27017"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "spritzschema",
|
"name": "spritzschema",
|
||||||
"version": "1.2.0",
|
"version": "1.2.1",
|
||||||
"date": "2023-06-08",
|
"date": "2023-07-06",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node ./bin/www >>/var/log/spritzschema.log 2>&1"
|
"start": "node ./bin/www >>/var/log/spritzschema.log 2>&1"
|
||||||
|
|||||||
@@ -36,7 +36,8 @@ document.addEventListener('DOMContentLoaded', async function () {
|
|||||||
|
|
||||||
async function enterEinheit (e) {
|
async function enterEinheit (e) {
|
||||||
let field = e.target;
|
let field = e.target;
|
||||||
curEinheit = field.value
|
curEinheit = parseInt(field.value)
|
||||||
|
schema.einheit = curEinheit
|
||||||
}
|
}
|
||||||
|
|
||||||
function buildCellHtml(day, einheit) {
|
function buildCellHtml(day, einheit) {
|
||||||
|
|||||||
Reference in New Issue
Block a user