Commit e8f769b2 authored by Daniel Kullmann's avatar Daniel Kullmann

Merge branch 'master' of gitlab.com:danielkullmann/corona

parents dffd4566 7cdfb4c9
Pipeline #162811394 passed with stage
in 30 seconds
......@@ -107,10 +107,10 @@ function removeCountry(sCountry) {
}
function countryClicked(oEvent) {
if (oEvent.originalTarget.checked) {
addCountry(oEvent.originalTarget.value);
if (oEvent.target.checked) {
addCountry(oEvent.target.value);
} else {
removeCountry(oEvent.originalTarget.value);
removeCountry(oEvent.target.value);
}
window.localStorage.corona = JSON.stringify({
countries: aCountries
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment