diff --git a/public/style.css b/public/style.css index b9eb6f9..6340191 100644 --- a/public/style.css +++ b/public/style.css @@ -292,6 +292,7 @@ form.savecomment { .children .morecomments { } .morecomments { + height: 20px; clear: left; margin: 0px 0px 10px 0px; font-size: 10px; diff --git a/public/utils.js b/public/utils.js index 48a1e87..802058e 100644 --- a/public/utils.js +++ b/public/utils.js @@ -145,7 +145,7 @@ function loadMoreComments(e) { e.target.parentNode.outerHTML = res + '
load more comments
' setup() } else { - e.target.parentNode.outerHTML = "" + e.target.parentNode.innerHTML = "" } }, function() { e.target.innerHTML = "loading failed" diff --git a/templates/main.html b/templates/main.html index 2b58c48..110bd75 100644 --- a/templates/main.html +++ b/templates/main.html @@ -3,7 +3,7 @@ {{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}} - +