From e03380108983ee5ff82b4b10b08b31c78208370c Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sun, 13 Dec 2020 10:33:47 -0500 Subject: Fix incorrect page type condition causing incorrect document title (#1105) --- ext/mixed/js/display.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/mixed/js/display.js') diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js index b9daa9a0..05b67bbd 100644 --- a/ext/mixed/js/display.js +++ b/ext/mixed/js/display.js @@ -381,7 +381,7 @@ class Display extends EventDispatcher { } async getDocumentTitle() { - if (this._pageType === 'float') { + if (this._pageType === 'popup') { return await this._getRootFrameDocumentTitle(); } return document.title; -- cgit v1.2.3