diff --git a/public/style.css b/public/style.css index f6f5184..022f1f1 100644 --- a/public/style.css +++ b/public/style.css @@ -83,7 +83,7 @@ summary { max-width: 840px; } .comment.hidden .score { - display: none; + visibility: hidden; } .score form.link-btn input { display: block; @@ -264,7 +264,6 @@ summary { } .comment.hidden { margin-bottom: 10px; - padding-left: 26px; } .comment.hidden .meta a { color: gray; @@ -379,7 +378,7 @@ form.nsfw div { text-decoration: none; color: #369; } -#loadmore { +#loadmore, #end { visibility: hidden; margin: 10px 0px; } diff --git a/public/utils.js b/public/utils.js index 73fbbb1..d5d419c 100644 --- a/public/utils.js +++ b/public/utils.js @@ -105,7 +105,7 @@ function loadMore(e) { e.target.outerHTML = res + '' } else { - e.target.outerHTML = "" + e.target.outerHTML = '' } }) return false; diff --git a/templates/frontpage.html b/templates/frontpage.html index 69d29bf..3dedab1 100644 --- a/templates/frontpage.html +++ b/templates/frontpage.html @@ -2,7 +2,7 @@ {{ 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}} - + @@ -55,6 +55,6 @@ {{ template "sidebar.html" . }} {{ end }} - + diff --git a/templates/main.html b/templates/main.html index bc05913..fb8a596 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}} - +