projects
/
mkws-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Radically simplify and generalise generation of facet HTML.
[mkws-moved-to-github.git]
/
src
/
mkws-handlebars.js
diff --git
a/src/mkws-handlebars.js
b/src/mkws-handlebars.js
index
67b3b19
..
a8dc142
100644
(file)
--- a/
src/mkws-handlebars.js
+++ b/
src/mkws-handlebars.js
@@
-18,7
+18,7
@@
Handlebars.registerHelper('mkws-paragraphs', function(obj, nPara, nSent) {
if (nPara === undefined || nPara.hasOwnProperty('hash') || nPara == 0 || nPara > obj.length) {
nPara = obj.length;
}
if (nPara === undefined || nPara.hasOwnProperty('hash') || nPara == 0 || nPara > obj.length) {
nPara = obj.length;
}
- if (nSent === undefined || nSent.hasOwnProperty('hash') || nSent == 0 || nSent > obj.length) {
+ if (nSent === undefined || nSent.hasOwnProperty('hash') || nSent == 0) {
nSent = Infinity;
}
nSent = Infinity;
}