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:
5aa7e3b
)
Fixes #4010
author
Radek Czajka
<rczajka@rczajka.pl>
Wed, 22 Apr 2020 11:16:32 +0000
(13:16 +0200)
committer
Radek Czajka
<rczajka@rczajka.pl>
Thu, 10 Sep 2020 12:15:11 +0000
(14:15 +0200)
src/annoy/static/annoy/book_text.js
patch
|
blob
|
history
diff --git
a/src/annoy/static/annoy/book_text.js
b/src/annoy/static/annoy/book_text.js
index
bef1f13
..
bcc46f0
100644
(file)
--- a/
src/annoy/static/annoy/book_text.js
+++ b/
src/annoy/static/annoy/book_text.js
@@
-45,6
+45,10
@@
}
return inserts.length > 0;
});
+ /* Special case for short poems. */
+ if (inserts && !counter) {
+ inserts[0].insertAfter($(".paragraph, .stanza").last());
+ }
};