Revert "Fix fullscreen mode on iOS/iPadOS"

This reverts commit bd1d3a5e2e.
This commit is contained in:
Norbert Tretkowski 2024-10-09 06:33:28 +02:00
parent dbf57bea46
commit 001a361037
Signed by: norbert.tretkowski
GPG key ID: EAA31A3693AAB231
3 changed files with 13 additions and 9 deletions

View file

@ -5,8 +5,8 @@
"duration": 10, "duration": 10,
"refreshDuration": 30, "refreshDuration": 30,
"maxAge": 604800, "maxAge": 604800,
// "extraCards": [ "extraCards": [
// "<img src='sharepic.png' style='max-width: 100%;max-height: 100%;vertical-align: middle;'>" "<img src='sharepic.png' style='max-width: 100%;max-height: 100%;vertical-align: middle;'>"
// ], ],
"includeReplies": true "includeReplies": true
} }

View file

@ -2,7 +2,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1.0, maximum-scale=1.0, minimal-ui" /> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>Netzbegrünung Mastowall</title> <title>Netzbegrünung Mastowall</title>
<!-- Bootstrap CSS --> <!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
@ -38,7 +38,11 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="hashtag2">Hashtag 2:</label> <label for="hashtag2">Hashtag 2:</label>
<input type="text" class="form-control" id="hashtag2" placeholder="Enter a hashtag" value="lptsh"> <input type="text" class="form-control" id="hashtag2" placeholder="Enter a hashtag" value="ldk24">
</div>
<div class="form-group">
<label for="hashtag3">Hashtag 3:</label>
<input type="text" class="form-control" id="hashtag3" placeholder="Enter a hashtag" value="wasjetztzählt">
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="serverUrl">Server:</label> <label for="serverUrl">Server:</label>

View file

@ -76,9 +76,9 @@ const fetchConfig = async function() {
maxAge = 60 * 60 * 24 * 7; maxAge = 60 * 60 * 24 * 7;
duration = 10000; duration = 10000;
refresh = 30000; refresh = 30000;
// extraCards = [ extraCards = [
// "<div><img src='sharepic.png' style='max-width: 100%;max-height: 100%'></div>" "<div><img src='sharepic.png' style='max-width: 100%;max-height: 100%'></div>"
// ]; ];
return "https://gruene.social"; return "https://gruene.social";
} }
} }
@ -280,7 +280,7 @@ const handleHashtagDisplayClick = function(serverUrl) {
const currentHashtags = getUrlParameter('hashtags').split(','); const currentHashtags = getUrlParameter('hashtags').split(',');
if ( currentHashtags = null ) { if ( currentHashtags = null ) {
currentHasttags = "netzbegruenung,lpt24".split(',') currentHasttags = "netzbegruenung,ldk24,wasjetztzählt".split(',')
} }
for (let i = 0; i < currentHashtags.length; i++) { for (let i = 0; i < currentHashtags.length; i++) {