diff options
Diffstat (limited to 'public/javascripts/iframe.js')
-rw-r--r-- | public/javascripts/iframe.js | 14 |
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 |