From df9897441a0a268b94d188b8e4f400ee3411aa7a Mon Sep 17 00:00:00 2001 From: alistair3149 Date: Sat, 16 Nov 2024 01:28:35 -0500 Subject: [PATCH] refactor: remove unused function --- modules/ext.tabberNeue/Util.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/modules/ext.tabberNeue/Util.js b/modules/ext.tabberNeue/Util.js index 0803577..f585650 100644 --- a/modules/ext.tabberNeue/Util.js +++ b/modules/ext.tabberNeue/Util.js @@ -4,18 +4,6 @@ * @class Util */ class Util { - /** - * Extracts text content from the given HTML string. - * - * @param {string} html - The HTML string to extract text content from. - * @return {string} The extracted text content. - */ - static extractTextFromHtml( html ) { - const tmp = document.createElement( 'div' ); - tmp.innerHTML = html; - return tmp.textContent; - } - /** * Returns the size (width or height) of the provided element. * Required to calculate the size of hidden elements (e.g. nested tabs)