From e1205b75cdf502bc3e97367530916dc64780792f Mon Sep 17 00:00:00 2001 From: hexeth <7627137+hexeth@users.noreply.github.com> Date: Thu, 10 Jan 2019 09:26:34 -0800 Subject: [PATCH] Fix targeting for language support (#761) Some other languages use 'description :' instead of 'description:' . --- cps/static/js/caliBlur.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cps/static/js/caliBlur.js b/cps/static/js/caliBlur.js index 43457b10..45dd4491 100644 --- a/cps/static/js/caliBlur.js +++ b/cps/static/js/caliBlur.js @@ -128,8 +128,8 @@ if ( $( 'body.book' ).length > 0 ) { }*/ description = $( '.comments' ); - bookInfo = $( '.author' ).nextUntil( 'h3:contains("Description:")'); - $( 'h3:contains("Description:")' ).detach(); + bookInfo = $( '.author' ).nextUntil( 'h3:contains("Description")'); + $( 'h3:contains("Description")' ).detach(); $( '.comments' ).detach(); $( bookInfo ).wrapAll( '
' ); // $( 'h3:contains("Description:")' ).after( '
' );