update for Firefox 8
This commit is contained in:
parent
131d15c8cb
commit
2c0d84aaa2
@ -493,7 +493,9 @@ var TreeStyleTabUtils = {
|
|||||||
while (targets.hasMoreElements())
|
while (targets.hasMoreElements())
|
||||||
{
|
{
|
||||||
let target = targets.getNext()
|
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);
|
windows.push(target);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user