summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2014-06-06 18:57:37 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2016-08-15 20:02:38 +0200
commite589163cfa01a43732fe7ddbfa501f9fba6501dc (patch)
treead29463711345f30eba4b4055d37b6f9d930c57b
parenta2dcc121b3ea919c4a291d603298ea9875e3bdca (diff)
downloadwvs-vplan-e589163cfa01a43732fe7ddbfa501f9fba6501dc.tar.gz
wvs-vplan-e589163cfa01a43732fe7ddbfa501f9fba6501dc.zip
speichere Einstellungen sofort bei Änderung
-rw-r--r--js/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/index.js b/js/index.js
index fafdf66..0a09c52 100644
--- a/js/index.js
+++ b/js/index.js
@@ -96,7 +96,7 @@ function trackPlan(vdate){
track('plan/' + vdate.format('YYYY/MM/DD'));
}
-$('#settingspanel').on('panelclose', function(){
+$('#settingspanel').change(function(){
localStorage.setItem('dntrack', $('#dntflip').val());
localStorage.setItem('classes', $('#addclass').val().toUpperCase());
localStorage.setItem('notifyday', $('#notifydayflip').val());