mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-06-02 22:09:20 -05:00
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:
parent
310d8a806b
commit
0890dae6c6
|
|
@ -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') {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user