diff options
author | Bernhard Tittelbach <bernhard@tittelbach.org> | 2014-10-25 17:40:44 +0200 |
---|---|---|
committer | Bernhard Tittelbach <bernhard@tittelbach.org> | 2014-10-25 17:40:44 +0200 |
commit | a7f6971a20320c67ab18e1b9ba2fe8659194d565 (patch) | |
tree | 5780b19842b422c7aa42dca7255f6239de0b31da | |
parent | hub: Retrieve HubId via Actor (diff) |
Revert "viz: fixed json data"
This reverts commit a58933c4cf7afb02c76263ecbb5328c97be8790f.
-rw-r--r-- | src/viz/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/viz/index.js b/src/viz/index.js index 4eed261..31b6880 100644 --- a/src/viz/index.js +++ b/src/viz/index.js @@ -96,7 +96,7 @@ function changeSetting(name, selobj) { function graphS5Status(data) { sidseen=[]; - $.each(data['data'], function(index, stream) { + $.each(data, function(index, stream) { var sid = stream["streamer-id"].format + '-' + stream["streamer-id"].quality; sidseen.push(sid); lastfrom = "from="+stream["start-time"]; @@ -111,7 +111,7 @@ function graphS5Status(data) { } else if (! stuff_to_display[key]) { stuff_to_display['*'](sid, key, data[key], jsdate); } - } + } }); } |