mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 21:55:15 +00:00
run collapseHeight on every fastping
This commit is contained in:
parent
fde50d3a3c
commit
528f051f79
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue