aboutsummaryrefslogtreecommitdiff
path: root/src/client/javascript
diff options
context:
space:
mode:
authorBilal ayachi <bilal.ayachi@hetmml.nl>2017-12-10 17:11:15 +0100
committerBilal ayachi <bilal.ayachi@hetmml.nl>2017-12-10 17:11:15 +0100
commit0a9b22c5ba744ab5b5fd01baed2a2d15d98613bc (patch)
treed7538c9a218d7b454ecce09eff27aaa57ffc3e36 /src/client/javascript
parentf18692872cdc28d29917247ef4f8ef7553a8b023 (diff)
Add clickable user codeclickable-users
Diffstat (limited to 'src/client/javascript')
-rw-r--r--src/client/javascript/analytics.js1
-rw-r--r--src/client/javascript/schedule.js7
2 files changed, 7 insertions, 1 deletions
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) {