client/js: remove dead code (1)

This commit is contained in:
mappu 2017-02-06 11:58:00 +13:00
parent bc80c94a6f
commit d2b1d23ba6
1 changed files with 0 additions and 6 deletions

View File

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