summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/viz/index.js4
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);
}
- }
+ }
});
}