Merge branch 'master' of github.com:piroor/treestyletab

This commit is contained in:
Piro / SHIMODA Hiroshi 2011-07-21 01:30:50 +09:00
commit 5dfbffc0be

View File

@ -493,7 +493,9 @@ var TreeStyleTabUtils = {
while (targets.hasMoreElements())
{
let target = targets.getNext()
.QueryInterface(Ci.nsIDOMWindowInternal);
.QueryInterface(Ci.nsIDOMWindow);
if ('nsIDOMWindowInternal' in Ci) // for Firefox 7 or olders
target = target.QueryInterface(Ci.nsIDOMWindowInternal);
windows.push(target);
}