aboutsummaryrefslogtreecommitdiff
path: root/assets_src
diff options
context:
space:
mode:
authorjan <jan@ruken.pw>2016-11-14 17:56:30 (UTC)
committerrtz12 <koenig@fagott.pw>2016-11-15 17:52:28 (UTC)
commit1dc23782f253352a61825ffa458d39217831cbf7 (patch)
tree3f2bf8f5612334833fbe33d775ad6b86da4c12a6 /assets_src
parent0f62ade5a05c755f18fd4d16a2a280b7870b08b7 (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');