mirror of
https://github.com/diaspora/diaspora.git
synced 2026-04-29 03:01:03 -04:00
DG IZ; javascript variable misnamed
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
//Attach onmessage to websocket
|
||||
ws.onmessage = function(evt) {
|
||||
var obj = jQuery.parseJSON(evt.data);
|
||||
debug("got a " + obj['class'] + " for group " + obj['group']);
|
||||
debug("got a " + obj['class'] + " for group " + obj['group_id']);
|
||||
|
||||
if (obj['class']=="retractions"){
|
||||
processRetraction(obj['post_id']);
|
||||
@@ -23,9 +23,9 @@
|
||||
}else if (obj['class']=='photos' && onPageForClass('albums')){
|
||||
processPhotoInAlbum(obj['photo_hash'])
|
||||
}else if (obj['class']=='status_messages'){
|
||||
processStatusMessage(obj['class'], obj['html'], obj['status_message_hash'], obj['group'])
|
||||
processStatusMessage(obj['class'], obj['html'], obj['status_message_hash'], obj['group_id'])
|
||||
}else{
|
||||
processPost(obj['class'], obj['html'], obj['group'])
|
||||
processPost(obj['class'], obj['html'], obj['group_id'])
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user