mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
minor code review
This commit is contained in:
parent
3f0457a5c4
commit
1598273d6a
1 changed files with 2 additions and 1 deletions
|
|
@ -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 a new issue