aboutsummaryrefslogtreecommitdiff
path: root/public/javascripts/schedule.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/javascripts/schedule.js')
-rw-r--r--public/javascripts/schedule.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/public/javascripts/schedule.js b/public/javascripts/schedule.js
index e181e00..e3944f8 100644
--- a/public/javascripts/schedule.js
+++ b/public/javascripts/schedule.js
@@ -1,4 +1,6 @@
const leftPad = require('left-pad')
+const autocomplete = require('./autocomplete')
+const search = require('./search')
const self = {}
@@ -46,6 +48,8 @@ self.viewItem = function (week, selectedUser) {
request.addEventListener('error', self._handleError)
request.open('GET', url, true)
request.send()
+
+ search.updateDom(selectedUser)
}
module.exports = self