Bug 1395194 - Copy URL confirmation should fade out at timeout. r?adw
MozReview-Commit-ID: DTrzSOaft3N
--- a/browser/base/content/browser-pageActions.js
+++ b/browser/base/content/browser-pageActions.js
@@ -716,17 +716,17 @@ var BrowserPageActionFeedback = {
}, {once: true});
this.panelNode.addEventListener("popuphidden", () => {
this.feedbackAnimationBox.removeAttribute("animate");
}, {once: true});
// The timeout value used here allows the panel to stay open for
// 1 second after the text transition (duration=120ms) has finished.
setTimeout(() => {
- this.panelNode.hidePopup();
+ this.panelNode.hidePopup(true);
}, Services.prefs.getIntPref("browser.pageActions.feedbackTimeoutMS", 1120));
},
};
// built-in actions below //////////////////////////////////////////////////////
// bookmark
BrowserPageActions.bookmark = {