Skip to content

Commit

Permalink
Fix broken error page
Browse files Browse the repository at this point in the history
  • Loading branch information
joeuhren committed Dec 18, 2020
1 parent 0f60227 commit 3f3159d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion views/layout.pug
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ html(lang='en')

return retVal;
}
$('##{active}').addClass('active');
if ('#{active}' != '')
$('##{active}').addClass('active');
function update_stats() {
$.ajax({url: '/ext/summary', success: function(json) {
$("#masternodeCountOnline").text(json.data[0].masternodeCountOnline).prop("alt", json.data[0].masternodeCountOnline+" nodes online").prop("title", json.data[0].masternodeCountOnline+" nodes online");
Expand Down

0 comments on commit 3f3159d

Please sign in to comment.