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.
This commit is contained in:
Cathy J. Fitzpatrick 2013-01-29 05:39:19 -07:00
parent 310d8a806b
commit 0890dae6c6

View File

@ -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') {