Sorted raw stream info json

This commit is contained in:
JonnyWong16 2017-10-29 11:43:49 -07:00
commit 567bba0c44

View file

@ -507,7 +507,7 @@
var session = $.parseJSON(xhr.responseText); var session = $.parseJSON(xhr.responseText);
$('#raw-stream-info-title').text(session.full_title); $('#raw-stream-info-title').text(session.full_title);
$('#raw-stream-info-user').text(session.friendly_name); $('#raw-stream-info-user').text(session.friendly_name);
$('#raw-stream-info').text(JSON.stringify(session, null, '\t')); $('#raw-stream-info').text(JSON.stringify(session, Object.keys(session).sort(), 4));
} }
}); });
}); });