Fix fullscreen mode on iOS/iPadOS
This commit is contained in:
parent
5099cd92a5
commit
bd1d3a5e2e
3 changed files with 9 additions and 13 deletions
|
@ -5,8 +5,8 @@
|
|||
"duration": 10,
|
||||
"refreshDuration": 30,
|
||||
"maxAge": 604800,
|
||||
"extraCards": [
|
||||
"<img src='sharepic.png' style='max-width: 100%;max-height: 100%;vertical-align: middle;'>"
|
||||
],
|
||||
// "extraCards": [
|
||||
// "<img src='sharepic.png' style='max-width: 100%;max-height: 100%;vertical-align: middle;'>"
|
||||
// ],
|
||||
"includeReplies": true
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<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>
|
||||
<!-- 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">
|
||||
|
@ -38,11 +38,7 @@
|
|||
</div>
|
||||
<div class="form-group">
|
||||
<label for="hashtag2">Hashtag 2:</label>
|
||||
<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">
|
||||
<input type="text" class="form-control" id="hashtag2" placeholder="Enter a hashtag" value="lptsh">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="serverUrl">Server:</label>
|
||||
|
|
|
@ -76,9 +76,9 @@ const fetchConfig = async function() {
|
|||
maxAge = 60 * 60 * 24 * 7;
|
||||
duration = 10000;
|
||||
refresh = 30000;
|
||||
extraCards = [
|
||||
"<div><img src='sharepic.png' style='max-width: 100%;max-height: 100%'></div>"
|
||||
];
|
||||
// extraCards = [
|
||||
// "<div><img src='sharepic.png' style='max-width: 100%;max-height: 100%'></div>"
|
||||
// ];
|
||||
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++) {
|
||||
|
|
Loading…
Reference in a new issue