]> git.mxchange.org Git - friendica.git/commitdiff
Comments in English trending_tags.tpl
authorloma-one <44441246+loma-one@users.noreply.github.com>
Thu, 8 Aug 2024 04:09:41 +0000 (06:09 +0200)
committerGitHub <noreply@github.com>
Thu, 8 Aug 2024 04:09:41 +0000 (06:09 +0200)
view/templates/widget/trending_tags.tpl

index 428646071d57ea5da55654289c1f06379d4c503f..5cf83e6d2eb41bd197c42c44d9d8dbb805b83429 100644 (file)
@@ -40,7 +40,7 @@
 
 <script>
 function toggleTags(event) {
-       event.preventDefault(); // Verhindert, dass der Link die Seite neu lädt
+       event.preventDefault(); // Prevents the link from reloading the page
        var moreTags = document.getElementById('more-tags');
        var link = event.target.closest('a');
        var caretIcon = document.getElementById('caret-icon');
@@ -50,12 +50,12 @@ function toggleTags(event) {
                moreTags.style.display = 'block';
                linkText.textContent = 'Show Less';
                link.setAttribute('aria-expanded', 'true');
-               caretIcon.className = 'fa fa-caret-down'; // Ändert das Icon auf "Caret Down"
+               caretIcon.className = 'fa fa-caret-down'; // Changes the icon to "Caret Down"
        } else {
                moreTags.style.display = 'none';
                linkText.textContent = 'Show More';
                link.setAttribute('aria-expanded', 'false');
-               caretIcon.className = 'fa fa-caret-right'; // Ändert das Icon auf "Caret Right"
+               caretIcon.className = 'fa fa-caret-right'; // Changes the icon to "Caret Down"
        }
 }