mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
forgot about reload: always rebind
This commit is contained in:
parent
8dcc994371
commit
42db160b93
1 changed files with 4 additions and 4 deletions
|
|
@ -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 a new issue