fixed 199
This commit is contained in:
parent
3e6e0fa124
commit
cbed4eae9c
1 changed files with 6 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Reference in a new issue