mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-06 09:37:12 +02:00
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
Block a user