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

Unified Diff: chrome/browser/resources/history/history.js

Issue 300063009: Hide the deletion confirmation overlay when the page state changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/history/history.js
diff --git a/chrome/browser/resources/history/history.js b/chrome/browser/resources/history/history.js
index b2d96bfab49c6a2867ed378440d530b4b5d1e221..3a73426aa18ea28747fd67c6939a79e60c90cc38 100644
--- a/chrome/browser/resources/history/history.js
+++ b/chrome/browser/resources/history/history.js
@@ -996,6 +996,9 @@ HistoryView.prototype.positionNotificationBar = function() {
* @private
*/
HistoryView.prototype.clear_ = function() {
+ if ($('alertOverlay').classList.contains('showing'))
+ hideConfirmationOverlay();
+
this.resultDiv_.textContent = '';
this.currentVisits_.forEach(function(visit) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698