From fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:14:29 +0200 Subject: Merging upstream version 125.0.1. Signed-off-by: Daniel Baumann --- browser/components/places/content/places-tree.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'browser/components/places/content/places-tree.js') diff --git a/browser/components/places/content/places-tree.js b/browser/components/places/content/places-tree.js index 08437b5e08..9e43558732 100644 --- a/browser/components/places/content/places-tree.js +++ b/browser/components/places/content/places-tree.js @@ -15,14 +15,14 @@ constructor() { super(); - this.addEventListener("focus", event => { + this.addEventListener("focus", () => { this._cachedInsertionPoint = undefined; // See select handler. We need the sidebar's places commandset to be // updated as well document.commandDispatcher.updateCommands("focus"); }); - this.addEventListener("select", event => { + this.addEventListener("select", () => { this._cachedInsertionPoint = undefined; // This additional complexity is here for the sidebars @@ -125,7 +125,7 @@ event.stopPropagation(); }); - this.addEventListener("dragend", event => { + this.addEventListener("dragend", () => { this._isDragSource = false; PlacesControllerDragHelper.currentDropTarget = null; }); @@ -841,7 +841,7 @@ return this.controller.buildContextMenu(aPopup); } - destroyContextMenu(aPopup) {} + destroyContextMenu() {} disconnectedCallback() { window.removeEventListener("unload", this.disconnectedCallback); -- cgit v1.2.3