From bd1d3a5e2eb34d422f0d710b76985cd8de79ca67 Mon Sep 17 00:00:00 2001 From: Norbert Tretkowski Date: Sat, 4 May 2024 11:57:17 +0200 Subject: [PATCH] Fix fullscreen mode on iOS/iPadOS --- config.json | 6 +++--- index.html | 8 ++------ script.js | 8 ++++---- 3 files changed, 9 insertions(+), 13 deletions(-) diff --git a/config.json b/config.json index 5de1d01..72e3b6f 100644 --- a/config.json +++ b/config.json @@ -5,8 +5,8 @@ "duration": 10, "refreshDuration": 30, "maxAge": 604800, - "extraCards": [ - "" - ], +// "extraCards": [ +// "" +// ], "includeReplies": true } diff --git a/index.html b/index.html index 9e35fe6..1cd000c 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,7 @@ - + Netzbegrünung Mastowall @@ -38,11 +38,7 @@
- -
-
- - +
diff --git a/script.js b/script.js index d448cbb..f1d563c 100644 --- a/script.js +++ b/script.js @@ -76,9 +76,9 @@ const fetchConfig = async function() { maxAge = 60 * 60 * 24 * 7; duration = 10000; refresh = 30000; - extraCards = [ - "
" - ]; +// extraCards = [ +// "
" +// ]; return "https://gruene.social"; } } @@ -280,7 +280,7 @@ const handleHashtagDisplayClick = function(serverUrl) { const currentHashtags = getUrlParameter('hashtags').split(','); if ( currentHashtags = null ) { - currentHasttags = "netzbegruenung,ldk24,wasjetztzählt".split(',') + currentHasttags = "netzbegruenung,lpt24".split(',') } for (let i = 0; i < currentHashtags.length; i++) {