aboutsummaryrefslogtreecommitdiff
path: root/public/javascripts/iframe.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/iframe.js
parentc1a50798fbf547acd8466d02ce97811106cc622a (diff)
switched to non-iframe schedule viewer
Diffstat (limited to 'public/javascripts/iframe.js')
-rw-r--r--public/javascripts/iframe.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/public/javascripts/iframe.js b/public/javascripts/iframe.js
deleted file mode 100644
index e3296be..0000000
--- a/public/javascripts/iframe.js
+++ /dev/null
@@ -1,14 +0,0 @@
-const getURLOfUser = require('./getURLOfUser')
-
-const self = {}
-
-self._nodes = {
- iframe: document.querySelector('iframe')
-}
-
-self.viewItem = function (offset, selectedUser) {
- const url = getURLOfUser(offset, selectedUser.type, selectedUser.index + 1)
- self._nodes.iframe.src = url
-}
-
-module.exports = self