diff --git a/contrib/data/www/index.html b/contrib/data/www/index.html
index dc516932..8b3089c6 100644
--- a/contrib/data/www/index.html
+++ b/contrib/data/www/index.html
@@ -826,6 +826,7 @@
Client certificate upload
handlePopState = (event) => {
if (event.state && event.state.path && event.state.mode) {
+ this.setState({ path: event.state.path, mode: event.state.mode });
this.fetchFileIndex(event.state.path, event.state.mode, true);
}
};