Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MACAO Hugo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MACAO
MACAO Hugo
Commits
27775e22
Commit
27775e22
authored
5 months ago
by
Anthony
Browse files
Options
Downloads
Patches
Plain Diff
Fix error when commentInfoGroup dont contains id
parent
fc1a2944
No related branches found
No related tags found
1 merge request
!5
UI Upgrade and content
Pipeline
#2046
canceled
5 months ago
Stage: test
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
macao/assets/custom.js
+11
-9
11 additions, 9 deletions
macao/assets/custom.js
macao/themes/macao-hugo-theme
+1
-1
1 addition, 1 deletion
macao/themes/macao-hugo-theme
with
12 additions
and
10 deletions
macao/assets/custom.js
+
11
−
9
View file @
27775e22
...
@@ -14,7 +14,8 @@ $(document).ready(function() {
...
@@ -14,7 +14,8 @@ $(document).ready(function() {
// Comment popover
// Comment popover
$
(
'
[spanid]
'
).
addClass
(
'
comment-trigger
'
).
each
(
function
(){
$
(
'
[spanid]
'
).
addClass
(
'
comment-trigger
'
).
each
(
function
(){
const
spanid
=
$
(
this
).
attr
(
'
spanid
'
);
const
spanid
=
$
(
this
).
attr
(
'
spanid
'
);
console
.
log
(
spanid
);
if
(
$
(
"
[commentaireid=
"
+
spanid
+
"
]
"
).
length
!==
0
)
{
$
(
this
).
popover
({
$
(
this
).
popover
({
trigger
:
'
click
'
,
trigger
:
'
click
'
,
html
:
true
,
html
:
true
,
...
@@ -23,6 +24,7 @@ $(document).ready(function() {
...
@@ -23,6 +24,7 @@ $(document).ready(function() {
return
$
(
"
[commentaireid=
"
+
spanid
+
"
]
"
).
html
();
return
$
(
"
[commentaireid=
"
+
spanid
+
"
]
"
).
html
();
}
}
});
});
}
});
});
$
(
document
).
on
(
'
click
'
,
function
()
{
$
(
document
).
on
(
'
click
'
,
function
()
{
...
...
This diff is collapsed.
Click to expand it.
macao-hugo-theme
@
b5ca12c7
Compare
a6970e44
...
b5ca12c7
Subproject commit
a6970e449194b8568d9303f099ef591025180f58
Subproject commit
b5ca12c7a576389bc20ad0d90bc4c106a4a1cbb6
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment