| Index: chrome/browser/resources/options/options_page.js
|
| diff --git a/chrome/browser/resources/options/options_page.js b/chrome/browser/resources/options/options_page.js
|
| index e6331230d53733613e9ef408dce42525abb8d358..5a0ee18cc224eefdfed5c3ea05726ed1f0e4e8bc 100644
|
| --- a/chrome/browser/resources/options/options_page.js
|
| +++ b/chrome/browser/resources/options/options_page.js
|
| @@ -236,12 +236,11 @@ cr.define('options', function() {
|
|
|
| // The page is already in history (the user may have clicked the same link
|
| // twice). Do nothing.
|
| - if (path == page.name && !OptionsPage.isLoading())
|
| - return;
|
| -
|
| var hash = opt_params && opt_params.ignoreHash ? '' : window.location.hash;
|
| -
|
| var newPath = (page == this.getDefaultPage() ? '' : page.name) + hash;
|
| + if (path == newPath && !OptionsPage.isLoading())
|
| + return;
|
| +
|
| var historyFunction = replace ? uber.replaceState : uber.pushState;
|
| historyFunction.call(uber, {pageName: page.name}, newPath);
|
| };
|
|
|