client/js: remove dead code (1)
This commit is contained in:
parent
bc80c94a6f
commit
d2b1d23ba6
@ -73,10 +73,6 @@ var sanitise = function(s) {
|
||||
return linkify(hesc(s));
|
||||
};
|
||||
|
||||
var toggle = function($el) {
|
||||
$el.style.display = ($el.style.display === "block") ? "none" : "block";
|
||||
};
|
||||
|
||||
var textContent = function($el) {
|
||||
if ($el.textContent) return $el.textContent;
|
||||
if ($el.innerText) return $el.innerText;
|
||||
@ -189,8 +185,6 @@ var write = function(tab) {
|
||||
return this.raw('<span class="'+c+'">'+s+'</span>');
|
||||
},
|
||||
'time': function() {
|
||||
var d = new Date();
|
||||
|
||||
return this.raw('<span class="tx-time">['+ date_format(new Date(), timestamp_formats[timestamp_format_index])+"]</span> ");
|
||||
},
|
||||
'system': function(s) {
|
||||
|
Loading…
Reference in New Issue
Block a user