mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 17:17:57 +01:00
oops: forgot about why we can't do this. Will leave the commented out code in there as a reminder.
This commit is contained in:
parent
e750e99ffa
commit
53b55a6b13
1 changed files with 5 additions and 5 deletions
|
@ -508,11 +508,11 @@ PageStore.prototype.init = function(tabId, pageURL) {
|
|||
/******************************************************************************/
|
||||
|
||||
PageStore.prototype.reuse = function(pageURL, context) {
|
||||
// This can very well happen under normal circumstances. Leave the context
|
||||
// unchanged when this happens.
|
||||
if ( pageURL === this.pageURL ) {
|
||||
return this;
|
||||
}
|
||||
// We can't do this: when force refreshing a page, the page store data
|
||||
// needs to be reset
|
||||
//if ( pageURL === this.pageURL ) {
|
||||
// return this;
|
||||
//}
|
||||
|
||||
// If URL changes without a page reload (more and more common), then we
|
||||
// need to keep all that we collected for reuse. In particular, not
|
||||
|
|
Loading…
Reference in a new issue