mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-09 04:38:07 -05:00
Fixed device power timeline when &hide=1
This commit is contained in:
parent
9153f767da
commit
f8521367d5
@ -6467,7 +6467,7 @@
|
|||||||
|
|
||||||
// Draw the timeline
|
// Draw the timeline
|
||||||
var x = '', count = 1, date = new Date();
|
var x = '', count = 1, date = new Date();
|
||||||
var totalWidth = Q('masthead').offsetWidth - (160 + 9 + 9 + 14); // Compute the total width of the power bar
|
var totalWidth = Q('column_l').offsetWidth - (160 + 9 + 9 + 14); // Compute the total width of the power bar
|
||||||
date.setHours(0, 0, 0, 0);
|
date.setHours(0, 0, 0, 0);
|
||||||
for (var i = 0; i < 7; i++) {
|
for (var i = 0; i < 7; i++) {
|
||||||
var datavalue = '', start = date.getTime(), end = start + (1000 * 60 * 60 * 24);
|
var datavalue = '', start = date.getTime(), end = start + (1000 * 60 * 60 * 24);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user