summaryrefslogtreecommitdiffhomepage
path: root/js/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/main.js')
-rw-r--r--js/main.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/main.js b/js/main.js
index e9b90a9..93f059c 100644
--- a/js/main.js
+++ b/js/main.js
@@ -156,6 +156,9 @@ else
$.jStorage.set("date_style", 0);
toggleDateStyle();
+// expire chosen date style each day
+$.jStorage.setTTL("date_style", 86400);
+
$(document).bind('keydown', 's', timeWastingClockReset);
$(document).bind('keydown', 'r', activityClockReset);
$(document).bind('keydown', 'c', activityClockCustom);