forgot about reload: always rebind

This commit is contained in:
gorhill 2015-01-24 12:34:36 -05:00
parent 8dcc994371
commit 42db160b93
1 changed files with 4 additions and 4 deletions

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