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 <a href='https://github.com/leram84/layer.Cake/tree/master/caliBlur' target='_blank'>layer.Cake</a>");
-  str = $(' .stat.blur.stats p').html().replace("</a>.","</a>");
-  $(' .stat.blur.stats p').html(str);
+if ( $(' body.stat p').length > 0 ) {
+  $(' body.stat p').append(" and <a href='https://github.com/leram84/layer.Cake/tree/master/caliBlur' target='_blank'>layer.Cake</a>");
+  str = $(' body.stat p').html().replace("</a>.","</a>");
+  $(' body.stat p').html(str);
 }
 // Collect delete buttons in editbook to single dropdown
 $( '.editbook .text-center.more-stuff' ).prepend( '<button id="deleteButton" type="button" class="btn btn-danger dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><span class="glyphicon glyphicon-remove"></span>Delete Format<span class="caret"></span></button><ul class="dropdown-menu delete-dropdown"></ul>' );
-- 
2.18.1