Merge pull request #24 from umonaca/patch-1

[Bugfix] Follower/folllowing list
This commit is contained in:
doubaniux 2020-05-08 16:57:08 +08:00 committed by GitHub
commit bc5b7ab827
2 changed files with 4 additions and 4 deletions

View file

@ -80,7 +80,7 @@ $(document).ready( function() {
}
let url = $("#userPageURL").text().replace('0', data.id);
temp.find("a").attr('href', url);
temp.find(".user-brief").text($(data.note).text());
temp.find(".user-brief").text(data.note.replace(/(<([^>]+)>)/ig,""));
$("#main .user:last").after(temp);
});
@ -186,4 +186,4 @@ $(document).ready( function() {
});
});
});

View file

@ -112,7 +112,7 @@ $(document).ready( function() {
}
let url = $("#userPageURL").text().replace('0', data.id);
temp.find("a").attr('href', url);
temp.find(".user-brief").text($(data.note).text());
temp.find(".user-brief").text(data.note.replace(/(<([^>]+)>)/ig,""));
$("#main .user:last").after(temp);
});
@ -186,4 +186,4 @@ $(document).ready( function() {
});
});
});