mirror of https://github.com/gorhill/uBlock.git
minor code review
This commit is contained in:
parent
3f0457a5c4
commit
1598273d6a
|
@ -1218,7 +1218,8 @@ var tabWatcher = (function() {
|
|||
observe: function(subject, topic) {
|
||||
var win;
|
||||
try {
|
||||
win = subject.QueryInterface(Ci.nsIDOMWindow);
|
||||
win = subject.QueryInterface(Ci.nsIInterfaceRequestor)
|
||||
.getInterface(Ci.nsIDOMWindow);
|
||||
} catch (ex) {
|
||||
}
|
||||
if ( !win ) {
|
||||
|
|
Loading…
Reference in New Issue