From 0890dae6c646ed01a0c9651abe0ec0a06dae5dd4 Mon Sep 17 00:00:00 2001 From: "Cathy J. Fitzpatrick" Date: Tue, 29 Jan 2013 05:39:19 -0700 Subject: [PATCH] Set timestamps off by default In order to preserve the previous status quo for now, this commit turns timestamps off by default. They can be turned on using /timestamps minutes or /timestamps seconds. --- js/sim.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/sim.js b/js/sim.js index bcde9e291..99a60a9e2 100644 --- a/js/sim.js +++ b/js/sim.js @@ -46,7 +46,7 @@ function savePrefs() { } function getTimestamp() { - if (prefs.timestamps === 'off') return ''; + if ((prefs.timestamps === 'off') || (prefs.timestamps === undefined)) return ''; var date = new Date(); var components = [ date.getHours(), date.getMinutes() ]; if (prefs.timestamps === 'seconds') {