Fixed device power timeline when &hide=1

Ylian Saint-Hilaire committed Dec 22, 2020 at 11:27 UTC f8521367d59f1b1445db903952f67cac590e2a60
1 file changed +1 -1
views/default.handlebars
+1 -1
@@ -6467,7 +6467,7 @@
6467
6468 // Draw the timeline
6469 var x = '', count = 1, date = new Date();
6470 - var totalWidth = Q('masthead').offsetWidth - (160 + 9 + 9 + 14); // Compute the total width of the power bar
6470 + var totalWidth = Q('column_l').offsetWidth - (160 + 9 + 9 + 14); // Compute the total width of the power bar
6471 date.setHours(0, 0, 0, 0);
6472 for (var i = 0; i < 7; i++) {
6473 var datavalue = '', start = date.getTime(), end = start + (1000 * 60 * 60 * 24);