onResizeの記述内容を簡潔に

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6425 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2010-03-24 15:45:57 +00:00
parent 99efb421c0
commit fe153c36c0

View File

@ -2590,11 +2590,7 @@ TreeStyleTabBrowser.prototype = {
{
if (
!aEvent.originalTarget ||
(
aEvent.originalTarget.ownerDocument != document &&
aEvent.originalTarget != window &&
aEvent.originalTarget != this.mTabBrowser.contentWindow
)
!(aEvent.originalTarget instanceof Ci.nsIDOMWindow)
)
return;