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 748fcb517d6b07b2b21550cba7c065135cae65c4..510e1e577bc35d32c51495f0ef533e1d7303abfb 100644 |
--- a/chrome/browser/resources/options/options_page.js |
+++ b/chrome/browser/resources/options/options_page.js |
@@ -363,10 +363,11 @@ cr.define('options', function() { |
// Clicks on the narrow strip between the left of the subpage sheet and |
// that shows part of the parent page should close the overlay, but |
// not fall through to the parent page. |
- if (!$('subpage-sheet-' + level).contains(event.target)) |
+ if (!$('subpage-sheet-' + level).contains(event.target)) { |
self.closeSubPagesToLevel(level - 1); |
- event.stopPropagation(); |
- event.preventDefault(); |
+ event.stopPropagation(); |
+ event.preventDefault(); |
+ } |
}; |
}; |