プレビューの表示非表示をAPIで判断するように

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6673 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2010-05-13 12:06:31 +00:00
parent 17920b7b9c
commit 6b1ce815fb

View File

@ -1639,7 +1639,7 @@ catch(e) {
aTabWindow.previews.forEach(function(aPreview) {
if (!aPreview) return;
var tab = aPreview.controller.wrappedJSObject.tab;
aPreview.visible = tab.getAttribute(this.kCOLLAPSED) != 'true';
aPreview.visible = !this.isCollapsed(tab);
}, this);
this.AeroPeek.checkPreviewCount();
return true;