aboutsummaryrefslogtreecommitdiff
path: root/assets_src/js
diff options
context:
space:
mode:
Diffstat (limited to 'assets_src/js')
-rw-r--r--assets_src/js/like.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/assets_src/js/like.js b/assets_src/js/like.js
index feae345..a438182 100644
--- a/assets_src/js/like.js
+++ b/assets_src/js/like.js
@@ -79,9 +79,9 @@ dom.ready(() => {
79 const cap = dom.firstChild(el, e => e.classList.contains('like-caption')); 79 const cap = dom.firstChild(el, e => e.classList.contains('like-caption'));
80 if (cap) { 80 if (cap) {
81 el.addEventListener('mouseover', () => { 81 el.addEventListener('mouseover', () => {
82 cap.textContent = `${liked ? 'nicht mehr ' : ''}geil finden`; 82 cap.textContent = liked ? 'nicht mehr approven' : 'approven!';
83 }); 83 });
84 el.addEventListener('mouseout', () => cap.textContent = 'Finden das geil'); 84 el.addEventListener('mouseout', () => cap.textContent = 'approven');
85 } 85 }
86 } else { 86 } else {
87 el.classList.add('disabled'); 87 el.classList.add('disabled');