Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Parajuli
website
Commits
30294bd4
Commit
30294bd4
authored
May 28, 2021
by
Joe TS Dell
Browse files
bug fix
parent
03f3d053
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/js/add_content.js
View file @
30294bd4
...
...
@@ -25,7 +25,7 @@ function addcontent(item) {
var
YouTubeHTML
=
''
if
(
'
youtube
'
in
item
.
links
)
{
// to be replaced by if (item.YouTubelink) or so...
var
YouTubelink
=
item
.
links
.
youtube
// to be replaced by item.YouTubelink or so...
YouTubeHTML
=
`<a class="btn btn-sm btn-outline-danger" href="
${
YouTubelink
}
" target="_blank"><i class="fab fa-youtube"></i> YouTube</a>`
YouTubeHTML
=
`<a class="btn btn-sm btn-outline-danger
mt-1
" href="
${
YouTubelink
}
" target="_blank"><i class="fab fa-youtube"></i> YouTube</a>`
}
var
ExploreHTML
=
''
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment