aboutsummaryrefslogtreecommitdiff
path: root/public/javascripts/search.js
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2016-12-09 15:22:57 +0100
committerNoah Loomans <noahloomans@gmail.com>2016-12-09 15:22:57 +0100
commite18bf78dd0a0ab8b4a70da6e370faa1a1132e211 (patch)
tree4eed8d8711498b57be676322430b2aab5812f230 /public/javascripts/search.js
parent998744084264dcf4fbbd2c52ab76cf392803fb05 (diff)
add searched class when searching
Diffstat (limited to 'public/javascripts/search.js')
-rw-r--r--public/javascripts/search.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/public/javascripts/search.js b/public/javascripts/search.js
index ae8118a..6d6fc3d 100644
--- a/public/javascripts/search.js
+++ b/public/javascripts/search.js
@@ -19,6 +19,7 @@ self.submit = function () {
schedule.viewItem(0, selectedItem)
autocomplete.removeAllItems()
+ document.body.classList.add('searched')
}
self._handleSubmit = function (event) {