From 9eb3b7c3021ed1a3636ad5e2b9b10dc00ca67bee Mon Sep 17 00:00:00 2001 From: James Goldie Date: Wed, 30 Oct 2024 20:01:50 +1100 Subject: [PATCH] Remove extraneous JS function --- _extensions/closeread/closeread.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/_extensions/closeread/closeread.js b/_extensions/closeread/closeread.js index f747e21..ffa5f00 100644 --- a/_extensions/closeread/closeread.js +++ b/_extensions/closeread/closeread.js @@ -402,7 +402,3 @@ function getBooleanConfig(metaFlag) { return option === "true" } -function isDocumentMain(el) { - return el === null || - (el.tagName == "MAIN" && el.classList.contains("content")) -}