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 { .children .morecomments {
} }
.morecomments { .morecomments {
height: 20px;
clear: left; clear: left;
margin: 0px 0px 10px 0px; margin: 0px 0px 10px 0px;
font-size: 10px; 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>' e.target.parentNode.outerHTML = res + '<div class="morecomments"><a id="lmc" href="" data-page="'+(parseInt(page)+1)+'">load more comments</a></div>'
setup() setup()
} else { } else {
e.target.parentNode.outerHTML = "" e.target.parentNode.innerHTML = ""
} }
}, function() { }, function() {
e.target.innerHTML = "loading failed" 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> <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" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="shortcut icon" href="/{{.Host}}/icon.jpg"> <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> </head>
<body{{ if .Dark }} class="dark"{{end}}> <body{{ if .Dark }} class="dark"{{end}}>
<noscript> <noscript>