mirror of
https://github.com/healthchecks/healthchecks.git
synced 2025-04-11 15:51:19 +00:00
Optimize HTML in the "My Checks" screen
This commit is contained in:
parent
5bb143caa2
commit
229f97ef9a
2 changed files with 2 additions and 4 deletions
|
@ -219,7 +219,7 @@ $(function () {
|
|||
|
||||
if (lastPing[el.code] != el.last_ping) {
|
||||
lastPing[el.code] = el.last_ping;
|
||||
$("#lpd-" + el.code).html(el.last_ping);
|
||||
$("#" + el.code + " .last-ping").html(el.last_ping);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -121,9 +121,7 @@
|
|||
</div>
|
||||
</td>
|
||||
<td class="hidden-xs">
|
||||
<div id="lpd-{{ check.code }}" class="last-ping">
|
||||
{% include "front/last_ping_cell.html" with check=check %}
|
||||
</div>
|
||||
<div class="last-ping">{% include "front/last_ping_cell.html" with check=check %}</div>
|
||||
</td>
|
||||
<td class="actions">
|
||||
{% if rw %}
|
||||
|
|
Loading…
Add table
Reference in a new issue