Hashtag #wasjetztzählt hinzugefügt

This commit is contained in:
Norbert Tretkowski 2024-01-21 11:42:57 +01:00
parent aacb05aee2
commit 5099cd92a5
No known key found for this signature in database
GPG key ID: 9495B8CF68668910
2 changed files with 3 additions and 3 deletions

View file

@ -42,7 +42,7 @@
</div>
<div class="form-group">
<label for="hashtag3">Hashtag 3:</label>
<input type="text" class="form-control" id="hashtag3" placeholder="Enter a hashtag">
<input type="text" class="form-control" id="hashtag3" placeholder="Enter a hashtag" value="wasjetztzählt">
</div>
<div class="form-group">
<label for="serverUrl">Server:</label>

View file

@ -280,7 +280,7 @@ const handleHashtagDisplayClick = function(serverUrl) {
const currentHashtags = getUrlParameter('hashtags').split(',');
if ( currentHashtags = null ) {
currentHasttags = "netzbegruenung,ldk24".split(',')
currentHasttags = "netzbegruenung,ldk24,wasjetztzählt".split(',')
}
for (let i = 0; i < currentHashtags.length; i++) {
@ -331,7 +331,7 @@ $(document).ready(async function() {
let hashtags = getUrlParameter('hashtags');
if ( hashtags == '' ) {
hashtags = "netzbegruenung,ldk24";
hashtags = "netzbegruenung,ldk24,wasjetztzählt";
}
const hashtagsArray = hashtags ? hashtags.split(',') : [];
const serverUrl = getUrlParameter('server') || defaultServerUrl;