diff --git a/app/components/footer.js b/app/components/footer.js index 25fba6e..9d097de 100644 --- a/app/components/footer.js +++ b/app/components/footer.js @@ -8,7 +8,6 @@ import html from "choo/html"; // U T I L S -import config from "~root/config"; import editLink from "./edit-link"; import emailSubscribe from "./email-subscribe"; @@ -42,15 +41,5 @@ export default state => { - - `; }; diff --git a/app/components/wrapper.js b/app/components/wrapper.js index 8f7ef0a..0f61c09 100644 --- a/app/components/wrapper.js +++ b/app/components/wrapper.js @@ -8,6 +8,7 @@ import asyncHtml from "choo-async/html"; // U T I L S +import config from "~root/config"; import footer from "./footer"; import navigation from "./navigation"; @@ -28,5 +29,15 @@ export default children => (state, emit) => { ${children.default(state, emit)} ${footer(state, emit)} + + `; }; diff --git a/app/dist/scripts/api.js b/app/dist/scripts/api.js index 5f12b27..5807a0a 100644 --- a/app/dist/scripts/api.js +++ b/app/dist/scripts/api.js @@ -66,6 +66,6 @@ function reinitJets() { contentTag, searchTag: "#input-search" }); - + document.getElementById("input-search").focus(); }