run collapseHeight on every fastping

This commit is contained in:
Mike Macgirvin 2023-07-23 18:53:20 +10:00
parent fde50d3a3c
commit 528f051f79

View file

@ -559,7 +559,8 @@ function markItemRead(itemId) {
function alertsUpdate() {
let alertspingCmd = 'fastping' + ((localUser != 0) ? '?f=&uid=' + localUser : '');
// use the regular timer to update scroll status
collapseHeight();
$.get(alertspingCmd,function(data) {
if (! data) {
return;