no comment jerk

This commit is contained in:
Ryan Stafford 2023-07-20 20:28:07 -04:00
parent 5d778161ec
commit ed7d9422d7
3 changed files with 3 additions and 2 deletions

View file

@ -292,6 +292,7 @@ form.savecomment {
.children .morecomments {
}
.morecomments {
height: 20px;
clear: left;
margin: 0px 0px 10px 0px;
font-size: 10px;

View file

@ -145,7 +145,7 @@ function loadMoreComments(e) {
e.target.parentNode.outerHTML = res + '<div class="morecomments"><a id="lmc" href="" data-page="'+(parseInt(page)+1)+'">load more comments</a></div>'
setup()
} else {
e.target.parentNode.outerHTML = ""
e.target.parentNode.innerHTML = ""
}
}, function() {
e.target.innerHTML = "loading failed"

View file

@ -3,7 +3,7 @@
<title>{{if and .Posts .PostID }}{{ (index .Posts 0).Post.Name}} : {{.CommunityName}}{{else if and .Community (ne .Community.CommunityView.Community.Title "")}}{{.Community.CommunityView.Community.Title}}{{else if ne .CommunityName ""}}/c/{{.CommunityName}}{{ else if .User}}overview for {{.User.PersonView.Person.Name}}{{else}}{{ host .Host }}{{end}}</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="shortcut icon" href="/{{.Host}}/icon.jpg">
<link rel="stylesheet" href="/_/static/style.css?v=25">
<link rel="stylesheet" href="/_/static/style.css?v=26">
</head>
<body{{ if .Dark }} class="dark"{{end}}>
<noscript>