Browse Source

Don't get last of empty list

pull/460/merge
Ruud 13 years ago
parent
commit
ef8dfc082c
  1. 1
      couchpotato/core/notifications/core/static/notification.js

1
couchpotato/core/notifications/core/static/notification.js

@ -136,6 +136,7 @@ var NotificationBase = new Class({
App.fireEvent(result.type, result)
})
if(json.result.length > 0)
self.last_id = json.result.getLast().message_id
}

Loading…
Cancel
Save