diff --git a/src/client/js/app.js b/src/client/js/app.js index f4e13d300..234a5ae15 100644 --- a/src/client/js/app.js +++ b/src/client/js/app.js @@ -137,8 +137,8 @@ showMassSetting.onchange = settings.toggleMass; var continuitySetting = document.getElementById('continuity'); continuitySetting.onchange = settings.toggleContinuity; -var continuitySetting = document.getElementById('roundFood'); -continuitySetting.onchange = settings.toggleRoundFood; +var roundFoodSetting = document.getElementById('roundFood'); +roundFoodSetting.onchange = settings.toggleRoundFood; var c = window.canvas.cv; var graph = c.getContext('2d');