aboutsummaryrefslogtreecommitdiff
path: root/public/javascripts/search.js
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2016-12-09 15:14:15 +0100
committerNoah Loomans <noahloomans@gmail.com>2016-12-09 15:14:15 +0100
commit998744084264dcf4fbbd2c52ab76cf392803fb05 (patch)
tree157d9d6f6e4fedef5c5e3baae1998d3a89fc985a /public/javascripts/search.js
parentc1a50798fbf547acd8466d02ce97811106cc622a (diff)
switched to non-iframe schedule viewer
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()
}