aboutsummaryrefslogtreecommitdiff
path: root/public/javascripts/frontpage.js
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2016-12-08 21:23:19 +0100
committerNoah Loomans <noahloomans@gmail.com>2016-12-08 21:23:19 +0100
commit3a9bdee97f9d05cbdb10f7530d4e94cf28d99602 (patch)
tree2c63824a80ae7a6602abbbcb166f269f31a8cb38 /public/javascripts/frontpage.js
parentc6aee6e370fe88909d462a2e10e45b72d20196f7 (diff)
did some more work
Diffstat (limited to 'public/javascripts/frontpage.js')
-rw-r--r--public/javascripts/frontpage.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/public/javascripts/frontpage.js b/public/javascripts/frontpage.js
index 3c9093e..d789045 100644
--- a/public/javascripts/frontpage.js
+++ b/public/javascripts/frontpage.js
@@ -1,5 +1,4 @@
-const frontpage = {}
-const self = frontpage
+const self = {}
self._nodes = {
input: document.querySelector('input[type="search"]')
@@ -19,4 +18,4 @@ self.hide = function () {
self._nodes.input.addEventListener('input', self.hide)
-module.exports = frontpage
+module.exports = self