aboutsummaryrefslogtreecommitdiff
path: root/assets_src
diff options
context:
space:
mode:
authorjan <jan@ruken.pw>2016-11-14 17:56:30 (UTC)
committerjan <jan@ruken.pw>2016-11-14 17:56:30 (UTC)
commite4c8cc5ac6ec07eba501c83c7b07adcee25d0ab4 (patch)
tree6ef3f8461f535debca924f739bd7340c2588c6f7 /assets_src
parent5d4d9935cffa9a7cb8fe2a294e45959b43390ef2 (diff)
ups
Diffstat (limited to 'assets_src')
-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');