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 @@