From 48b8041800cc6a291f1addff59b7380434f89a87 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') diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js index b19d07e2..26a05abd 100644 --- a/ext/mixed/js/display.js +++ b/ext/mixed/js/display.js @@ -390,7 +390,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