From 2627c912026d6999b4860a5e3acbb2afffd485f3 Mon Sep 17 00:00:00 2001 From: AINDUSTRIES Date: Sat, 14 Dec 2024 14:44:36 +0100 Subject: [PATCH] Code typo fix --- userscript.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userscript.js b/userscript.js index d6d6741..11dd3ea 100644 --- a/userscript.js +++ b/userscript.js @@ -42,7 +42,7 @@ function getAllDocuments () { let childNodes = rootNode.childNodes; childNodes.forEach((childNode) => { // If the elements are documents they should not have an id. - if (childNode.getAttibute("id") === null) { + if (childNode.getAttribute("id") === null) { let child = childNode.firstChild; allDocuments.push(child); }