fixed 199

This commit is contained in:
jeena 2013-04-09 18:59:35 +02:00
parent 3e6e0fa124
commit cbed4eae9c

View file

@ -40,6 +40,9 @@ function(HostApp, Paths, Cache) {
document.getElementById("sidebar").appendChild(this.body);
// initial seting of the <body> class
document.body.className = "body-timeline";
this.setEntityAvatar();
}
@ -151,6 +154,9 @@ function(HostApp, Paths, Cache) {
active_part.show();
// Replace <body> class
document.body.className = "body-" + active_li.className.split("-")[1];
// Show active icon
for(var li in this.menu) {
if (this.menu[li] != active_part) {