fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d839334
)
better check
author
Radek Czajka
<rczajka@rczajka.pl>
Mon, 9 Nov 2020 00:37:03 +0000
(
01:37
+0100)
committer
Radek Czajka
<rczajka@rczajka.pl>
Mon, 9 Nov 2020 00:37:03 +0000
(
01:37
+0100)
src/wolnelektury/static/js/book_text/references.js
patch
|
blob
|
history
diff --git
a/src/wolnelektury/static/js/book_text/references.js
b/src/wolnelektury/static/js/book_text/references.js
index
89663a6
..
0585d84
100644
(file)
--- a/
src/wolnelektury/static/js/book_text/references.js
+++ b/
src/wolnelektury/static/js/book_text/references.js
@@
-4,7
+4,7
@@
if (interestingReferences) {
interestingReferences = $.parseJSON(interestingReferences);
}
- if (
interestingReferences
) {
+ if (
Object.keys(interestingReferences).length
) {
$("#settings-references").css('display', 'block');
}