Skip to content

Commit

Permalink
Adapt code style to new version of jscs
Browse files Browse the repository at this point in the history
  • Loading branch information
tripu committed Nov 24, 2017
1 parent c6b39fd commit 472831a
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions views/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -195,19 +195,22 @@ <h2>Stats</h2>
data + '">' + data + '</a>');
});

$('#echidna-stats-placeholder a').click(function(event) {
$('#echidna-stats-placeholder a').click(function (event) {
event.preventDefault();
$('#echidna-stats-placeholder').html('<p><em>Crunching some numbers; please wait&hellip;</em></p>');
$('#echidna-stats-placeholder')
.html('<p><em>Crunching some numbers; please wait&hellip;</em></p>');
$.get('api/stats?format=div', function (data) {
$('#echidna-stats-placeholder').replaceWith(data);
});
});

window.setTimeout(function() {
$('div#gutter-left')
.css('top', '79.5px')
.css('opacity', 1);
}, 500
window.setTimeout(
function () {
$('div#gutter-left')
.css('top', '79.5px')
.css('opacity', 1);
},
500
);
});
</script>
Expand Down

0 comments on commit 472831a

Please sign in to comment.