From 92a2cc3d19955c7d5cfff1609de48a0a9dda42a3 Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Fri, 28 Feb 2014 12:47:20 -0800 Subject: Autoselect default option if not set. --- options.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/options.js b/options.js index 184a1fe..045b2b3 100644 --- a/options.js +++ b/options.js @@ -17,7 +17,7 @@ function restore_options() { var timeformat = localStorage['timeformat']; if(!timeformat) { - return; + timeformat = '24'; } var select = document.getElementById('timeformat'); -- cgit v1.2.3-70-g09d2