From f35bf6a2a5fbb65692ed6a6886487599f082a981 Mon Sep 17 00:00:00 2001 From: tophf Date: Fri, 30 Jul 2021 17:28:35 +0300 Subject: [PATCH] typo --- content/install-hook-userstylesworld.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/install-hook-userstylesworld.js b/content/install-hook-userstylesworld.js index 66801e12..94e31e04 100644 --- a/content/install-hook-userstylesworld.js +++ b/content/install-hook-userstylesworld.js @@ -30,7 +30,7 @@ }); window.addEventListener('message', ({data, source, origin}) => { - // Some browser don't reveal `source` to extensions e.g. Firefox + // Some browsers don't reveal `source` to extensions e.g. Firefox if (data && (source ? source === window : origin === ORIGIN)) { const fn = HANDLERS[data.type]; if (fn) fn(data);