mirror of
https://github.com/JonathanHerrewijnen/calibre-web.git
synced 2024-11-11 05:33:57 +00:00
Fix targeting for language support (#761)
Some other languages use 'description :' instead of 'description:' .
This commit is contained in:
parent
dba5680121
commit
e1205b75cd
@ -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>' );
|
||||||
|
Loading…
Reference in New Issue
Block a user