aboutsummaryrefslogtreecommitdiff
path: root/public/javascripts/schedule.js
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2017-01-08 11:50:23 +0100
committerNoah Loomans <noahloomans@gmail.com>2017-01-08 11:50:23 +0100
commitb4b142ce708307c75696d393927305926df1d877 (patch)
treeec9afdeed301c9baa57d3ef1cc7ff3ed25b57f5c /public/javascripts/schedule.js
parent320c18af3ee9cbeaaae3d4796dd7f15a5ac90889 (diff)
fix getURLOFUSers
Diffstat (limited to 'public/javascripts/schedule.js')
-rw-r--r--public/javascripts/schedule.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/javascripts/schedule.js b/public/javascripts/schedule.js
index a080ace..a1ca647 100644
--- a/public/javascripts/schedule.js
+++ b/public/javascripts/schedule.js
@@ -45,7 +45,7 @@ self._handleError = function (event) {
self._getURLOfUsers = function (week, type, index) {
const id = index + 1
return '//' + window.location.host + '/meetingpointProxy/Roosters-AL%2Fdoc%2Fdagroosters%2F' +
- week + '%2F' + type + '%2F' + type + leftPad(id, 5, '0') + '.htm'
+ leftPad(week, 2, '0') + '%2F' + type + '%2F' + type + leftPad(id, 5, '0') + '.htm'
}
self._removeChilds = function () {