From 6d3619724735cad09bcb24110403d21479d1fd4d Mon Sep 17 00:00:00 2001 From: supahgreg Date: Tue, 14 Oct 2025 22:43:09 +0000 Subject: Remove various Element and Array prototype extensions (and similar). --- plugins/shorten_expanded/init.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'plugins/shorten_expanded') diff --git a/plugins/shorten_expanded/init.js b/plugins/shorten_expanded/init.js index a89fe8e92..deb3b6393 100644 --- a/plugins/shorten_expanded/init.js +++ b/plugins/shorten_expanded/init.js @@ -55,10 +55,9 @@ Plugins.Shorten_Expanded = { const row = App.byId(id); if (row) { - const content = row.querySelector(".content-shrink-wrap"); - const link = row.querySelector(".expand-prompt"); + const link = row.querySelector('.expand-prompt'); - if (content) content.removeClassName("content-shrink-wrap"); + row.querySelector('.content-shrink-wrap')?.classList.remove('content-shrink-wrap'); if (link) Element.hide(link); } -- cgit v1.2.3-54-g00ecf