Chromium Code Reviews| Index: chrome/browser/resources/settings/privacy_page/privacy_page.js |
| diff --git a/chrome/browser/resources/settings/privacy_page/privacy_page.js b/chrome/browser/resources/settings/privacy_page/privacy_page.js |
| index 496fd34ba9b6af51736cfb91503dd744354ed4d9..49d4acbcb6066d719d45a1625828ca1e5473e238 100644 |
| --- a/chrome/browser/resources/settings/privacy_page/privacy_page.js |
| +++ b/chrome/browser/resources/settings/privacy_page/privacy_page.js |
| @@ -82,7 +82,9 @@ Polymer({ |
| /** @private */ |
| onDialogClosed_: function() { |
| - settings.navigateTo(settings.Route.PRIVACY); |
| + // Opening the dialog performs a navigation, but not necessarily from |
| + // PRIVACY section. Browser Back restores the old route without scrolling. |
| + window.history.back(); |
|
michaelpg
2016/08/16 23:28:02
Seems like a behavior the router should be respons
tommycli
2016/08/16 23:50:08
Done.
Yes you are absolutely correct here. I real
|
| }, |
| <if expr="_google_chrome and not chromeos"> |