Removed setTimeout. It was initially intended to prevent dupes but
this is not the case with 0.9.x's util.js as opposed to 0.8.x, where it didn't properly check if a given notice id is already in the list
This commit is contained in:
parent
edf9b38637
commit
4fbb6b0dfb
|
@ -58,7 +58,6 @@ RealtimeUpdate = {
|
||||||
|
|
||||||
receive: function(data)
|
receive: function(data)
|
||||||
{
|
{
|
||||||
setTimeout(function() {
|
|
||||||
id = data.id;
|
id = data.id;
|
||||||
|
|
||||||
// Don't add it if it already exists
|
// Don't add it if it already exists
|
||||||
|
@ -74,7 +73,6 @@ RealtimeUpdate = {
|
||||||
|
|
||||||
RealtimeUpdate._updatecounter += 1;
|
RealtimeUpdate._updatecounter += 1;
|
||||||
document.title = '('+RealtimeUpdate._updatecounter+') ' + DT;
|
document.title = '('+RealtimeUpdate._updatecounter+') ' + DT;
|
||||||
}, 500);
|
|
||||||
},
|
},
|
||||||
|
|
||||||
makeNoticeItem: function(data)
|
makeNoticeItem: function(data)
|
||||||
|
|
Loading…
Reference in New Issue