Commit e1205b75 authored by hexeth's avatar hexeth Committed by Ozzie Isaacs

Fix targeting for language support (#761)

Some other languages use 'description :' instead of 'description:' .
parent dba56801
...@@ -128,8 +128,8 @@ if ( $( 'body.book' ).length > 0 ) { ...@@ -128,8 +128,8 @@ if ( $( 'body.book' ).length > 0 ) {
}*/ }*/
description = $( '.comments' ); description = $( '.comments' );
bookInfo = $( '.author' ).nextUntil( 'h3:contains("Description:")'); bookInfo = $( '.author' ).nextUntil( 'h3:contains("Description")');
$( 'h3:contains("Description:")' ).detach(); $( 'h3:contains("Description")' ).detach();
$( '.comments' ).detach(); $( '.comments' ).detach();
$( bookInfo ).wrapAll( '<div class="bookinfo"></div>' ); $( bookInfo ).wrapAll( '<div class="bookinfo"></div>' );
// $( 'h3:contains("Description:")' ).after( '<div class="description"></div>' ); // $( 'h3:contains("Description:")' ).after( '<div class="description"></div>' );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment