From 2fafb080674ca72c18c48bda35de8a5138f9c3e4 Mon Sep 17 00:00:00 2001 From: "Joshua A. Horton" Date: Fri, 26 Jan 2018 12:47:46 +0700 Subject: [PATCH] Forgot to save the documentation part. --- web/source/kmwutils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/source/kmwutils.ts b/web/source/kmwutils.ts index 2268a52cdb..e9de8fa577 100644 --- a/web/source/kmwutils.ts +++ b/web/source/kmwutils.ts @@ -1326,8 +1326,8 @@ class Util { } /** - * Checks the type of an input HTMLElement while ensuring that it is checked against the correct prototype, - * as class prototypes are (by specification) scoped upon the owning document. + * Checks the type of an input DOM-related object while ensuring that it is checked against the correct prototype, + * as class prototypes are (by specification) scoped upon the owning Window. * * See https://stackoverflow.com/questions/43587286/why-does-instanceof-return-false-on-chrome-safari-and-edge-and-true-on-firefox * for more details.