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

WIP commment

parent 048fd41b
Branches
No related tags found
1 merge request!5UI Upgrade and content
......@@ -8,13 +8,20 @@ $(document).ready(function() {
$('.book-header').show();
$('.commentaireInfo').hide();
$('.commentaireInfo').prop('popover', 'auto');
// $('.commentaireInfo').prop('popover', 'auto');
$('.commentaireInfoGroup').show();
// Comment popover
$('[spanid]').addClass('comment-trigger').on('click', function() {
let spanid = $(this).attr('spanid');
$("[commentaireid=" + spanid + "]").toggle();
$('[spanid]').addClass('comment-trigger').popover({
trigger: 'click',
html: true,
content: function () {
return "tt" + $(this).attr('spanid');
}
});
$(document).on('click', function() {
$('[spanid]').popover('hide');
});
// Simplify th in td
......
......@@ -11,7 +11,6 @@
{{- $quizjs := slice -}}
{{- $quizjs = $quizjs | append (resources.Get "quiz.js") -}}
{{- $quizjs = $quizjs | append (resources.Get "custom.js") -}}
{{- $quizjs = $quizjs | append (resources.Get "gapfill-select.js") -}}
{{- $quizjs = $quizjs | append (resources.Get "gapfill-open.js") -}}
{{- $quizjs = $quizjs | resources.Concat "quiz.bundle.js" -}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment