1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Added session timer to desktop and terminal.

This commit is contained in:
Ylian Saint-Hilaire 2019-08-26 16:55:50 -07:00
parent 8d07e05e10
commit 452d190d37
8 changed files with 38 additions and 6 deletions

View file

@ -99,3 +99,6 @@ function random(max) { return Math.floor(Math.random() * max); }
// Trademarks
function trademarks(x) { return x.replace(/\(R\)/g, '®').replace(/\(TM\)/g, '™'); }
// Pad a number with zeros on the left
function zeroPad(num, c) { if (c == null) { c = 2; } var s = "00000000" + num; return s.substr(s.length - c); }