From f8131c9b4e38b6b6e14f438fe8a428b3ce0180bb Mon Sep 17 00:00:00 2001 From: Andy Lulham Date: Thu, 16 May 2024 08:26:16 +0100 Subject: [PATCH] fix: explicitly disable search panes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This presumably isn’t necessary – it should be refactored out. --- output/index.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/output/index.md b/output/index.md index 139e532d6..a4b88811c 100644 --- a/output/index.md +++ b/output/index.md @@ -47,7 +47,10 @@ Proposed [Twitter community notes](https://twitter.com/i/communitynotes/download } return '' + luxon.DateTime.fromISO(data).toFormat('d MMM yyyy') + ''; }, - searchable: false + searchable: false, + searchPanes: { + show: false + } }, { data: 'shown', defaultContent: '', render: function (data, type, row, meta) { @@ -75,6 +78,9 @@ Proposed [Twitter community notes](https://twitter.com/i/communitynotes/download } content = row['tweet'] ? row['tweet'] : ''; return '
' + content + '
'; + }, + searchPanes: { + show: false } }, { @@ -115,8 +121,11 @@ Proposed [Twitter community notes](https://twitter.com/i/communitynotes/download data: 'tweet', searchable: true, visible: false, - defaultContent: '' - } + defaultContent: '', + searchPanes: { + show: false + } + }, ], drawCallback: function (settings) { twttr.widgets.load();