aboutsummaryrefslogtreecommitdiff
path: root/public/javascripts/search.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/javascripts/search.js')
-rw-r--r--public/javascripts/search.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/public/javascripts/search.js b/public/javascripts/search.js
index dd22f11..ae8118a 100644
--- a/public/javascripts/search.js
+++ b/public/javascripts/search.js
@@ -2,7 +2,7 @@
const fuzzy = require('fuzzy')
const autocomplete = require('./autocomplete')
-const iframe = require('./iframe')
+const schedule = require('./schedule')
const self = {}
@@ -16,7 +16,7 @@ self.submit = function () {
const selectedItem = autocomplete.getSelectedItem()
self._nodes.input.value = selectedItem.value
- iframe.viewItem(0, selectedItem)
+ schedule.viewItem(0, selectedItem)
autocomplete.removeAllItems()
}