Skip to content

Commit

Permalink
Fix determination of whether a level is loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Nov 15, 2014
1 parent fcab544 commit 0c5cee3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions imp/js/dimpbase.js
Expand Up @@ -4370,10 +4370,6 @@ var IMP_Flist_Mbox = Class.create({
{
var elt;

if (e) {
this.data.load = true;
}

if (this.data.fake) {
return this.data.fake.expand(e);
} else if (!Object.isUndefined(e)) {
Expand All @@ -4385,6 +4381,9 @@ var IMP_Flist_Mbox = Class.create({
} else {
e = !!e;
[ elt ].invoke('addClassName', e ? 'exp' : 'col');
if (!e) {
this.data.load = true;
}
}

this.data.expand = e;
Expand Down

0 comments on commit 0c5cee3

Please sign in to comment.