From 47deafe2b7945a6ce5578126e96e90ac2b1881b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=9D=E3=83=BC=E3=83=AB=20=E3=82=A6=E3=82=A7=E3=83=83?= =?UTF-8?q?=E3=83=96?= Date: Mon, 13 May 2019 15:00:44 -0500 Subject: [PATCH] Closes #263 --- app/components/footer.js | 11 ----------- app/components/wrapper.js | 11 +++++++++++ app/dist/scripts/api.js | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) 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(); }