From 550262e65160161e82d8ca5687c8b296e68e2223 Mon Sep 17 00:00:00 2001 From: hexeth <7627137+hexeth@users.noreply.github.com> Date: Fri, 11 Jan 2019 12:44:29 -0800 Subject: [PATCH] Further fix --- 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 76ae86f1..997bd270 100644 --- a/cps/static/js/caliBlur.js +++ b/cps/static/js/caliBlur.js @@ -442,7 +442,7 @@ $(document).on('click','.dropdown-toggle',function() { // Fade out content on page unload // 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.stats a )", function () { +$(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 () { // get the href attribute var newUrl = $(this).attr("href"); @@ -495,7 +495,7 @@ backurl = '../../book/' + url[2] $( 'body.epub #title-controls' ) .append('
') -$( 'body.stats .col-sm-10 p:first' ).insertAfter( '#libs' ); +$( 'body.stat .col-sm-10 p:first' ).insertAfter( '#libs' ); // Check if link is external and force _blank attribute $(function(){ // document ready