fix(buffer) cut: when cut root directory, it became transparent

This commit is contained in:
coderaiser 2015-03-16 10:52:25 -04:00
parent 7ed1afa775
commit 6d2b445867

View file

@ -88,13 +88,16 @@ var Util, DOM;
from = Info.dirPath;
clear();
addCutClass();
Storage
.set(CUT, {
from : from,
names: names
});
if (names[0] !== '..') {
addCutClass();
Storage
.set(CUT, {
from : from,
names: names
});
}
}
function clear() {