From e589163cfa01a43732fe7ddbfa501f9fba6501dc Mon Sep 17 00:00:00 2001 From: schneefux Date: Fri, 6 Jun 2014 18:57:37 +0200 Subject: speichere Einstellungen sofort bei Änderung MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); -- cgit v1.3.1