Skip to content
Snippets Groups Projects
Commit 3264c65a authored by Anthony's avatar Anthony
Browse files

Fix button play style but disable comment

parent 4a19f39b
Branches
No related tags found
1 merge request!6Resolve "Démo/Réunion du 16/01 avec Laurence et Sheridan"
......@@ -11,25 +11,20 @@ $(document).ready(function() {
// $('.commentaireInfo').prop('popover', 'auto');
$('.commentaireInfoGroup').show();
// Comment popover
$('[spanid]').addClass('comment-trigger').each(function (){
const spanid = $(this).attr('spanid');
$('[spanid]').addClass('comment-trigger');
if($("[commentaireid=" + spanid + "]").length !== 0) {
$(this).popover({
/* // Comment popover
$('[spanid]').addClass('comment-trigger').popover({
trigger: 'click',
html: true,
placement: 'auto',
content: function () {
return $("[commentaireid=" + spanid + "]").html();
}
});
return "tt" + $(this).attr('spanid');
}
});
$(document).on('click', function() {
$('[spanid]').popover('hide');
});
});*/
// Simplify th in td
$('th').each(function () {
......
......@@ -121,3 +121,7 @@ $(function () {
// Inflate the survey in the page
$("#surveyContainer").Survey({ model: survey });
});
$(document).ready(function() {
$('button:contains("Play")').html('<i class="fa-solid fa-play"></i> Écouter').addClass('btn-play').prop('title','Écouter');
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment