@ -349,7 +349,7 @@ $(document).on('click','.dropdown-toggle',function() {
// Fade out content on page unload
// Fade out content on page unload
// delegate all clicks on "a" tag (links)
// delegate all clicks on "a" tag (links)
$ ( document ) . on ( "click" , "a:not(.btn-toolbar a, a[href*='shelf/remove'], .identifiers a, .bookinfo , .btn-group > a, #add-to-shelves a, #book-list a, .stat.blur a )" , function ( ) {
/ * $ ( d o c u m e n t ) . o n ( " c l i c k " , " a : n o t ( . b t n - t o o l b a r a , a [ h r e f * = ' s h e l f / r e m o v e ' ] , . i d e n t i f i e r s a , . b o o k i n f o , . b t n - g r o u p > a , # a d d - t o - s h e l v e s a , # b o o k - l i s t a , . s t a t . b l u r a ) " , f u n c t i o n ( ) {
// get the href attribute
// get the href attribute
var newUrl = $ ( this ) . attr ( "href" ) ;
var newUrl = $ ( this ) . attr ( "href" ) ;
@ -361,7 +361,7 @@ $(document).on("click", "a:not(.btn-toolbar a, a[href*='shelf/remove'], .identif
return ;
return ;
}
}
// now, fadeout the html (whole page)
now , fadeout the html ( whole page )
$ ( '.blur-wrapper' ) . fadeOut ( 250 ) ;
$ ( '.blur-wrapper' ) . fadeOut ( 250 ) ;
$ ( ".row-fluid .col-sm-10" ) . fadeOut ( 500 , function ( ) {
$ ( ".row-fluid .col-sm-10" ) . fadeOut ( 500 , function ( ) {
// when the animation is complete, set the new location
// when the animation is complete, set the new location
@ -370,7 +370,7 @@ $(document).on("click", "a:not(.btn-toolbar a, a[href*='shelf/remove'], .identif
// prevent the default browser behavior.
// prevent the default browser behavior.
return false ;
return false ;
} ) ;
} ) ; * /
// Collapse long text into read-more
// Collapse long text into read-more
$ ( 'div.comments' ) . readmore ( {
$ ( 'div.comments' ) . readmore ( {