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
No related branches found
No related tags found
No related merge requests found
...@@ -11,25 +11,20 @@ $(document).ready(function() { ...@@ -11,25 +11,20 @@ $(document).ready(function() {
// $('.commentaireInfo').prop('popover', 'auto'); // $('.commentaireInfo').prop('popover', 'auto');
$('.commentaireInfoGroup').show(); $('.commentaireInfoGroup').show();
// Comment popover $('[spanid]').addClass('comment-trigger');
$('[spanid]').addClass('comment-trigger').each(function (){
const spanid = $(this).attr('spanid');
if($("[commentaireid=" + spanid + "]").length !== 0) { /* // Comment popover
$(this).popover({ $('[spanid]').addClass('comment-trigger').popover({
trigger: 'click', trigger: 'click',
html: true, html: true,
placement: 'auto',
content: function () { content: function () {
return $("[commentaireid=" + spanid + "]").html(); return "tt" + $(this).attr('spanid');
}
});
} }
}); });
$(document).on('click', function() { $(document).on('click', function() {
$('[spanid]').popover('hide'); $('[spanid]').popover('hide');
}); });*/
// Simplify th in td // Simplify th in td
$('th').each(function () { $('th').each(function () {
......
...@@ -121,3 +121,7 @@ $(function () { ...@@ -121,3 +121,7 @@ $(function () {
// Inflate the survey in the page // Inflate the survey in the page
$("#surveyContainer").Survey({ model: survey }); $("#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