diff options
Diffstat (limited to 'chrome/browser/resources/uber/uber.js')
-rw-r--r-- | chrome/browser/resources/uber/uber.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/resources/uber/uber.js b/chrome/browser/resources/uber/uber.js index 69a89ed..8ddafb8 100644 --- a/chrome/browser/resources/uber/uber.js +++ b/chrome/browser/resources/uber/uber.js @@ -41,8 +41,11 @@ cr.define('uber', function() { // HACK(dbeam): This makes the assumption that any second part to a path // will result in needing background navigation. We shortcut it to avoid // flicker on load. - if (params.path && params.id == 'settings') + // HACK(csilv): Search URLs aren't overlays, special case them. + if (params.id == 'settings' && params.path && + params.path.indexOf('search') != 0) { backgroundNavigation(); + } } /** |