Fix fullscreen mode on iOS/iPadOS

This commit is contained in:
Norbert Tretkowski 2024-05-04 11:57:17 +02:00
parent 5099cd92a5
commit bd1d3a5e2e
Signed by: norbert.tretkowski
GPG key ID: EAA31A3693AAB231
3 changed files with 9 additions and 13 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"> <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1.0, maximum-scale=1.0, minimal-ui" />
<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,11 +38,7 @@
</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="ldk24"> <input type="text" class="form-control" id="hashtag2" placeholder="Enter a hashtag" value="lptsh">
</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,ldk24,wasjetztzählt".split(',') currentHasttags = "netzbegruenung,lpt24".split(',')
} }
for (let i = 0; i < currentHashtags.length; i++) { for (let i = 0; i < currentHashtags.length; i++) {