We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 105d9e5 commit b9b7785Copy full SHA for b9b7785
src/MiniProfiler.Shared/ui/lib/MiniProfiler.ts
@@ -430,13 +430,13 @@ namespace StackExchange.Profiling {
430
<td colspan="3" class="mp-results-none">(no client timings)</td>`) + `
431
</tr>`);
432
});
433
- document.querySelector('.mp-results-index').insertAdjacentHTML('beforeend', html);
+ document.querySelector('.mp-results-index').insertAdjacentHTML('afterbegin', html);
434
const oldId = id;
435
const oldData = data;
436
setTimeout(() => {
437
let newId = oldId;
438
if (oldData.length > 0) {
439
- newId = oldData[oldData.length - 1].Id;
+ newId = oldData[0].Id;
440
}
441
updateGrid(newId);
442
}, 4000);
0 commit comments