aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/js/tab.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/js/tab.js b/src/js/tab.js
index f0e6cde..ad167b5 100644
--- a/src/js/tab.js
+++ b/src/js/tab.js
@@ -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;
};