diff --git a/static/main.js b/static/main.js index b9261ce..ac9edf6 100644 --- a/static/main.js +++ b/static/main.js @@ -2,6 +2,7 @@ replaceDates(); let form = document.getElementById("sort"); if (form) { + form.style.display = "block"; let postsByDate = document.getElementById("posts"); let postsByName = document.createElement("div"); populateByName(postsByDate, postsByName); diff --git a/templates/index.html b/templates/index.html index 7cfd817..4f5fb27 100644 --- a/templates/index.html +++ b/templates/index.html @@ -32,8 +32,8 @@ there are no posts right now. check back later! {% else %} {% if js %} - sort by: -
+ + sort by: