mirror of https://github.com/gorhill/uBlock.git
forgot about reload: always rebind
This commit is contained in:
parent
8dcc994371
commit
42db160b93
|
@ -171,10 +171,10 @@ vAPI.tabs.registerListeners();
|
|||
return pageStore;
|
||||
}
|
||||
|
||||
// Rebind according to context
|
||||
if ( pageURL !== pageStore.pageURL ) {
|
||||
pageStore.reuse(pageURL, context);
|
||||
}
|
||||
// Rebind according to context. We rebind even if the URL did not change,
|
||||
// as maybe the tab was force-reloaded, in which case the page stats must
|
||||
// be all reset.
|
||||
pageStore.reuse(pageURL, context);
|
||||
|
||||
return pageStore;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue