diff options
Diffstat (limited to 'public/javascripts/frontpage.js')
-rw-r--r-- | public/javascripts/frontpage.js | 5 |
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 |