From 5a863541dea44786217343c7a39150484586ad03 Mon Sep 17 00:00:00 2001 From: hexeth <7627137+hexeth@users.noreply.github.com> Date: Tue, 19 Feb 2019 13:44:40 -0800 Subject: [PATCH] Fix object object --- cps/static/js/caliBlur.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/static/js/caliBlur.js b/cps/static/js/caliBlur.js index 4da3db7c..179f0e85 100644 --- a/cps/static/js/caliBlur.js +++ b/cps/static/js/caliBlur.js @@ -92,7 +92,7 @@ if ( $( 'body.book' ).length > 0 ) { .replace(/^(?=\n)$|^\s*|\s*$|\n\n+/gm,"").split(/\n/); } else { - newdesc = description.toString(); + newdesc = description.text(); } doc = nlp ( newdesc.toString() ); sentences = doc.map((m)=> m.out( 'text' ));