1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-15 07:22:28 +02:00

forgot about reload: always rebind

This commit is contained in:
gorhill 2015-01-24 12:34:36 -05:00
parent 8dcc994371
commit 42db160b93

View File

@ -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;
};