Skip to content
Snippets Groups Projects
Commit 27775e22 authored by Anthony's avatar Anthony
Browse files

Fix error when commentInfoGroup dont contains id

parent fc1a2944
Branches
No related tags found
1 merge request!5UI Upgrade and content
Pipeline #2046 canceled
......@@ -14,7 +14,8 @@ $(document).ready(function() {
// Comment popover
$('[spanid]').addClass('comment-trigger').each(function (){
const spanid = $(this).attr('spanid');
console.log(spanid);
if($("[commentaireid=" + spanid + "]").length !== 0) {
$(this).popover({
trigger: 'click',
html: true,
......@@ -23,6 +24,7 @@ $(document).ready(function() {
return $("[commentaireid=" + spanid + "]").html();
}
});
}
});
$(document).on('click', function() {
......
Subproject commit a6970e449194b8568d9303f099ef591025180f58
Subproject commit b5ca12c7a576389bc20ad0d90bc4c106a4a1cbb6
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment