mirror of https://github.com/gorhill/uBlock.git
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
|
@ -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 New Issue