Profil-Einstellungen
${usernameShort}
`;
} catch (error) {
console.error('Error generating username short name or color: (usually no characters but only sonderzeichen )', error);
}
}
},
openLoginModal() {
/* TODO: consider improving: auto-focus on username box */
document.querySelector('#modal-ipbfxixe2.modal').classList.toggle('is-active')
},
loginOrWriteComment(targetEl) {
this.checkIfLoggedIn()
if ($store.TazUser.isLoggedIn) {
this.commentboxFocused = true
} else {
targetEl.blur();
this.openLoginModal()
}
},
resetCommentbox() {
this.commentboxFocused = false
this.replyid = ''
this.userComment = ''
const writebox = document.getElementById('container-user__kommune_comments_write')
const original_location = document.getElementById('original-container-user__kommune_comments_write')
original_location.appendChild(writebox);
writeBoxIsInReplyLayout = false;
},
postComment() {
if (!$store.TazUser.isLoggedIn) {
window.popToast('Bitte loggen sie zuerst ein')
return false
}
// Disables 'submit' button
this.busy = true
console.log('Post comment: ' + this.userComment)
// TODO: check to URI-escape this properly please
const postCommentData = {
id: 190996,
scope: 'cms-article',
post: this.userComment,
asid: this.replyid, // Injects reply Post ID from parent .community div's x-data
}
const result = window.TazUser.postComment(postCommentData);
result.then((result) => {
console.log(result);
if (result.success) {
this.errorMsg = result.success ? '' : result.message
window.popToast('Danke für lhren Kommentar. Er wartet nun auf Freischaltung. Bitte haben Sie Geduld und senden Sie ihn nicht mehrfach ab. ' + this.errorMsg)
this.resetCommentbox()
} else {
this.errorMsg = result.success ? '' : result.message
window.popToast('Ein Fehler ist aufgetreten. ' + this.errorMsg)
}
}).finally(() => {
this.busy = false
})
},
}">
Login Kommune
meine Kommentare
29.03.2025 , 12:01 Uhr
Man muss aber beim Lärm mit berücksichtigen, dass ab einer bestimmten Geschwindigkeit, nicht der Motor laut ist, sondern das Rollgeräusch. Und für jemanden der direkt an einer Hauptstrecke wohnt, sind die Züge, besonders die modernen Triebwägen deutlich leiser als der Autoverkehr, auch wenn dieser elektrisch fährt. Dazu ist dieser Artikel recht aufschlussreich: www.tagesschau.de/...ionen-kba-100.html
zum Beitrag