From 7ec11ecfc447c66582e16d4e832cbfc089139e29 Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Wed, 21 Dec 2016 11:55:02 +0100 Subject: fixed ie --- public/javascripts/schedule.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'public/javascripts/schedule.js') diff --git a/public/javascripts/schedule.js b/public/javascripts/schedule.js index e93ecf8..2e6fb81 100644 --- a/public/javascripts/schedule.js +++ b/public/javascripts/schedule.js @@ -42,8 +42,8 @@ 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` + return '//' + window.location.host + '/meetingpointProxy/Roosters-AL%2Fdoc%2Fdagroosters%2F' + + week + '%2F' + type + '%2F' + type + leftPad(id, 5, '0') + '.htm' } self.viewItem = function (week, selectedUser) { -- cgit v1.1