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

Unified Diff: chrome/browser/resources/feedback/js/topbar_handlers.js

Issue 2826753002: Fix a bug of black area on window close (Closed)
Patch Set: Write handling in one function to reduce coupling factor Created 3 years, 8 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 | « chrome/browser/resources/feedback/js/feedback.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/feedback/js/topbar_handlers.js
diff --git a/chrome/browser/resources/feedback/js/topbar_handlers.js b/chrome/browser/resources/feedback/js/topbar_handlers.js
index 03e43e05c020416e9829cae06d011f14104f862c..36833645d5f90210db899090859b5efd638b30b7 100644
--- a/chrome/browser/resources/feedback/js/topbar_handlers.js
+++ b/chrome/browser/resources/feedback/js/topbar_handlers.js
@@ -23,7 +23,7 @@ function initializeHandlers() {
});
$('close-button').addEventListener('click', function() {
- window.close();
+ scheduleWindowClose();
});
$('close-button').addEventListener('mousedown', function(e) {
« no previous file with comments | « chrome/browser/resources/feedback/js/feedback.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698