From b72894d8748372db520a9e507aee7adc6fe36327 Mon Sep 17 00:00:00 2001 From: Martynas Bagdonas Date: Tue, 29 Aug 2023 13:47:11 +0300 Subject: [PATCH] Fix still broken reader view focusing after tab switch --- chrome/content/zotero/xpcom/reader.js | 1 + 1 file changed, 1 insertion(+) diff --git a/chrome/content/zotero/xpcom/reader.js b/chrome/content/zotero/xpcom/reader.js index cc935e2684..ed1fb40c9e 100644 --- a/chrome/content/zotero/xpcom/reader.js +++ b/chrome/content/zotero/xpcom/reader.js @@ -89,6 +89,7 @@ class ReaderInstance { async focus() { await this._waitForReader(); this._iframeWindow.focus(); + this._internalReader?.focus(); } getSecondViewState() {