Skip to content
Snippets Groups Projects
Commit 5824eb65 authored by Lene Wasskog's avatar Lene Wasskog
Browse files

log: Remove debug logging

parent 9521c281
No related branches found
No related tags found
No related merge requests found
......@@ -318,14 +318,12 @@
window.displayWeatherstationInput = () => {
radioWeatherstation.checked = true;
console.error("Check radioWeatherstation!")
document.getElementById('input-weatherstation').style.display="block";
document.getElementById('input-coordinates').style.display="none";
}
window.displayCoordinatesInput = () => {
radioGrid.checked = true;
console.error("Check radioGrid!")
document.getElementById('input-weatherstation').style.display="none";
document.getElementById('input-coordinates').style.display="block";
getTimezoneForSelectedPoint()
......@@ -616,7 +614,6 @@
var userSettings = getLocalSettings(getNameSpaced("{{ form_id }}",formFields), false);
if(!isDictEmpty(userSettings)) {
console.error("Found previously stored usersettings", userSettings);
renderUserSettings(userSettings);
if(theForm["weatherDataSourceType"].value == "grid") {
displayCoordinatesInput();
......@@ -626,7 +623,6 @@
displayCoordinatesInput();
}
} else {
console.error("Found no previously stored usersettings");
displayCoordinatesInput();
}
}).catch(function(error) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment