From edb4cedc65a968892e7c7580ff27c3a2f3656e0e Mon Sep 17 00:00:00 2001 From: hexeth <7627137+hexeth@users.noreply.github.com> Date: Fri, 11 Jan 2019 12:43:00 -0800 Subject: [PATCH] Update about page to target new body class --- cps/static/js/caliBlur.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cps/static/js/caliBlur.js b/cps/static/js/caliBlur.js index 451a393f..76ae86f1 100644 --- a/cps/static/js/caliBlur.js +++ b/cps/static/js/caliBlur.js @@ -730,10 +730,10 @@ if ( $( window ).width() <= 768 ) { } // LayerCake plug -if ( $(' .stat.blur.stats p').length > 0 ) { - $(' .stat.blur.stats p').append(" and layer.Cake"); - str = $(' .stat.blur.stats p').html().replace(".",""); - $(' .stat.blur.stats p').html(str); +if ( $(' body.stat p').length > 0 ) { + $(' body.stat p').append(" and layer.Cake"); + str = $(' body.stat p').html().replace(".",""); + $(' body.stat p').html(str); } // Collect delete buttons in editbook to single dropdown $( '.editbook .text-center.more-stuff' ).prepend( '' );