From c9b865076d94d9578691ca6b424d5c26fbb0b4db Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Fri, 12 Mar 2021 17:48:28 -0500 Subject: [PATCH] fix: mismatched heading tag --- files/en-us/web/api/document/getselection/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/web/api/document/getselection/index.html b/files/en-us/web/api/document/getselection/index.html index 1a627e7dcad4821..6fcf46f16e5f9aa 100644 --- a/files/en-us/web/api/document/getselection/index.html +++ b/files/en-us/web/api/document/getselection/index.html @@ -52,7 +52,7 @@

String representation of
let selectedText = selection.toString();
-

+

You can call {{domxref("Window.getSelection()")}}, which works identically to Document.getSelection().