Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1757)

Unified Diff: chrome/browser/resources/settings/route.js

Issue 2242863002: Settings Router Refactor: Allow no-op navigations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/settings/settings_main/settings_main.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/route.js
diff --git a/chrome/browser/resources/settings/route.js b/chrome/browser/resources/settings/route.js
index 981c574e4fb8fb26a7a6f376b2bbe27e4fefe1b7..9ce34b51fb10efe0d59d3b14eba6a8d15819c8d7 100644
--- a/chrome/browser/resources/settings/route.js
+++ b/chrome/browser/resources/settings/route.js
@@ -346,10 +346,6 @@ cr.define('settings', function() {
*/
var navigateTo = function(route, opt_dynamicParameters) {
var params = opt_dynamicParameters || new URLSearchParams();
- if (assert(route) == currentRoute_ &&
- params.toString() == currentQueryParameters_.toString()) {
- return;
- }
var url = route.path;
if (opt_dynamicParameters) {
« no previous file with comments | « no previous file | chrome/browser/resources/settings/settings_main/settings_main.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698