Commit ba5c3bc1 authored by Yorre Rajaonarivelo's avatar Yorre Rajaonarivelo
Browse files

fix bug news activitypub

parent 9fe3b884
......@@ -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 false;
if(v.type == "activitypub")
return true;
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 false;
if(v.type == "activitypub")
return true;
tags = "",
scopes = "",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment