fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
cf4049b
)
fix
author
Radek Czajka
<rczajka@rczajka.pl>
Tue, 26 Sep 2023 12:37:23 +0000
(14:37 +0200)
committer
Radek Czajka
<rczajka@rczajka.pl>
Tue, 26 Sep 2023 12:37:23 +0000
(14:37 +0200)
src/wolnelektury/static/js/main.js
patch
|
blob
|
history
diff --git
a/src/wolnelektury/static/js/main.js
b/src/wolnelektury/static/js/main.js
index
d231b40
..
acc38a9
100644
(file)
--- a/
src/wolnelektury/static/js/main.js
+++ b/
src/wolnelektury/static/js/main.js
@@
-323,7
+323,7
@@
button.on('click', function() {
let dataLabel = $(this).attr('data-label');
let dataAction = $(this).attr('data-action');
- $(this).parent().find('.l-article__overlay').toggleClass('is-clicked');
+ $(this).parent().
parent().
find('.l-article__overlay').toggleClass('is-clicked');
if($(this).text() === dataLabel) {
$(this).text(dataAction);
} else {