Expand truncated numbers on mouseover. Close #156

This commit is contained in:
spikecodes
2021-03-20 15:42:47 -07:00
parent ab886d1e67
commit 966e0ce921
10 changed files with 26 additions and 70 deletions

View File

@ -199,7 +199,7 @@ async fn parse_comments(json: &serde_json::Value, post_link: &str, post_author:
distinguished: val(&comment, "distinguished"),
},
score: if data["score_hidden"].as_bool().unwrap_or_default() {
"\u{2022}".to_string()
("\u{2022}".to_string(), "Hidden".to_string())
} else {
format_num(score)
},