Update about page to target new body class

pull/765/head
hexeth 6 years ago committed by GitHub
parent 40e45c7272
commit edb4cedc65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -730,10 +730,10 @@ if ( $( window ).width() <= 768 ) {
} }
// LayerCake plug // LayerCake plug
if ( $(' .stat.blur.stats p').length > 0 ) { if ( $(' body.stat 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>"); $(' body.stat 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>"); str = $(' body.stat p').html().replace("</a>.","</a>");
$(' .stat.blur.stats p').html(str); $(' body.stat p').html(str);
} }
// Collect delete buttons in editbook to single dropdown // 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>' ); $( '.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>' );

Loading…
Cancel
Save