Sometimes closed popups are wrongly detected as opened. ( http://piro.sakura.ne.jp/cgi-bin/bbs.cgi?2801 )
This commit is contained in:
parent
f3105942c4
commit
8e48a5e712
@ -1746,7 +1746,7 @@ catch(e) {
|
|||||||
TreeStyleTabService._shownPopups = TreeStyleTabService._shownPopups.filter(function(aItem) {
|
TreeStyleTabService._shownPopups = TreeStyleTabService._shownPopups.filter(function(aItem) {
|
||||||
if (typeof aItem == 'string')
|
if (typeof aItem == 'string')
|
||||||
aItem = document.getElementById(aItem);
|
aItem = document.getElementById(aItem);
|
||||||
return aItem && aItem.boxObject && ((aItem.boxObject.width || aItem.boxObject.height) && aItem.boxObject.popupState != 'closed');
|
return aItem && aItem.boxObject && ((aItem.boxObject.width || aItem.boxObject.height) && aItem.state != 'closed');
|
||||||
});
|
});
|
||||||
return TreeStyleTabService._shownPopups.length > 0;
|
return TreeStyleTabService._shownPopups.length > 0;
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user