Select Git revision

Anthony authored
custom.js 652 B
console.log('Custom JS loaded');
$(document).ready(function() {
console.log('Custom JS executed');
// Add specific classes to play buttons
$('button:contains("Play")').html('<i class="fa-solid fa-play"></i> Écouter').addClass('btn-play').prop('title','Écouter');
// Add Title on top of the page
$('.book-header').show();
$('.commentaireInfo').hide();
$('.commentaireInfo').prop('popover', 'true');
$('.commentaireInfoGroup').show();
$('[spanid]').addClass('comment-trigger').on('click', function() {
let spanid = $(this).attr('spanid');
$("[commentaireid=" + spanid + "]").toggle();
});
});