From 84b27e6a5ab301bf44085d727e7dd5fc37899f9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Fri, 19 Aug 2022 20:07:40 +0100 Subject: [PATCH] Window: add a tooltip on the close button --- src/Window.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Window.js b/src/Window.js index 092f08d5..c4203411 100644 --- a/src/Window.js +++ b/src/Window.js @@ -15,6 +15,7 @@ module.exports = class Window extends EventEmitter { this.closeBtn = document.createElement('div') this.closeBtn.className = 'closeBtn' + this.closeBtn.title = lang('close') this.closeBtn.onclick = (e) => { this.close() e.stopImmediatePropagation()