diff options
author | jan <jan@ruken.pw> | 2016-11-14 17:56:30 (UTC) |
---|---|---|
committer | jan <jan@ruken.pw> | 2016-11-14 17:56:30 (UTC) |
commit | e4c8cc5ac6ec07eba501c83c7b07adcee25d0ab4 (patch) | |
tree | 6ef3f8461f535debca924f739bd7340c2588c6f7 /assets_src | |
parent | 5d4d9935cffa9a7cb8fe2a294e45959b43390ef2 (diff) |
ups
Diffstat (limited to 'assets_src')
-rw-r--r-- | assets_src/js/like.js | 4 |
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'); |