Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Pixel Humain
news
Commits
ba5c3bc1
Commit
ba5c3bc1
authored
Apr 12, 2022
by
Yorre Rajaonarivelo
Browse files
fix bug news activitypub
parent
9fe3b884
Changes
1
Hide whitespace changes
Inline
Side-by-side
views/co/timelineTree.php
View file @
ba5c3bc1
...
...
@@ -230,8 +230,8 @@ foreach($news as $key => $media){
jQuery(document).ready(function() {
$.each(news, function(e,v){
//do not apply the default behavior if it is activitypub type news
if(v.type
!
==
"
activitypub
"
)
return
fals
e;
if(v.type ==
"
activitypub
"
)
return
tru
e;
updateNews[e]= v;
if(typeof v._id.$id !=
"
undefined
"
)
...
...
@@ -258,8 +258,8 @@ foreach($news as $key => $media){
$.each(news, function(e,v){
//do not apply the default behavior if it is activitypub type news
if(v.type
!
==
"
activitypub
"
)
return
fals
e;
if(v.type ==
"
activitypub
"
)
return
tru
e;
tags =
""
,
scopes =
""
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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