summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2014-02-28 12:47:20 -0800
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2014-02-28 12:47:20 -0800
commit92a2cc3d19955c7d5cfff1609de48a0a9dda42a3 (patch)
treee178476099aecf808c6830da9aee4818676e6320
parenta00fdfcb1a3aa26f80df7c1b9981b0607d1e32b3 (diff)
downloadtempo-92a2cc3d19955c7d5cfff1609de48a0a9dda42a3.tar.gz
tempo-92a2cc3d19955c7d5cfff1609de48a0a9dda42a3.tar.xz
Autoselect default option if not set.
-rw-r--r--options.js2
1 files changed, 1 insertions, 1 deletions
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');