From 0a9b22c5ba744ab5b5fd01baed2a2d15d98613bc Mon Sep 17 00:00:00 2001 From: Bilal ayachi Date: Sun, 10 Dec 2017 17:11:15 +0100 Subject: Add clickable user code --- src/client/javascript/analytics.js | 1 + src/client/javascript/schedule.js | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'src/client/javascript') diff --git a/src/client/javascript/analytics.js b/src/client/javascript/analytics.js index a93c8a4..821aef8 100644 --- a/src/client/javascript/analytics.js +++ b/src/client/javascript/analytics.js @@ -9,6 +9,7 @@ self.send.search = function (selectedUser, favorite) { const eventCategory = favorite ? 'search fav' : 'search' + let eventAction switch (selectedUser.type) { case 'c': diff --git a/src/client/javascript/schedule.js b/src/client/javascript/schedule.js index 11a2aa8..6979526 100644 --- a/src/client/javascript/schedule.js +++ b/src/client/javascript/schedule.js @@ -9,11 +9,13 @@ self._nodes = { schedule: document.querySelector('#schedule') } + self._parseMeetingpointHTML = function (htmlStr) { const html = document.createElement('html') html.innerHTML = htmlStr const centerNode = html.querySelector('center') - return centerNode + return centerNode; + } self._handleLoad = function (event) { @@ -27,6 +29,9 @@ self._handleLoad = function (event) { self._nodes.schedule.appendChild(document) self._nodes.schedule.classList.remove('error') self.emit('load') + + + } self._handleError = function (event) { -- cgit v1.1