Index: chrome/browser/resources/settings/route.js |
diff --git a/chrome/browser/resources/settings/route.js b/chrome/browser/resources/settings/route.js |
index 5d45fd89bb9e4f8374c311bf42869347619ab46c..412e880c39d91298bad954667e3823ad5a76597c 100644 |
--- a/chrome/browser/resources/settings/route.js |
+++ b/chrome/browser/resources/settings/route.js |
@@ -334,9 +334,8 @@ cr.define('settings', function() { |
} |
// History serializes the state, so we don't push the actual route object. |
- var previousRoutePath = currentRoute_.path; |
+ window.history.pushState(currentRoute_.path, '', url); |
setCurrentRoute(route, params); |
- window.history.pushState(previousRoutePath, '', url); |
}; |
window.addEventListener('popstate', function(event) { |