From 70bf9cfdbb93ac0c770185934a4ccf91b46c8ae5 Mon Sep 17 00:00:00 2001 From: Michael Scherle Date: Wed, 22 Mar 2017 17:16:57 +0100 Subject: frontend fixed scrolling --- .../frontend/jquery-week-calendar/jquery.weekcalendar.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'modules-available/locationinfo/frontend/jquery-week-calendar/jquery.weekcalendar.js') diff --git a/modules-available/locationinfo/frontend/jquery-week-calendar/jquery.weekcalendar.js b/modules-available/locationinfo/frontend/jquery-week-calendar/jquery.weekcalendar.js index 808939f3..f6404ea3 100755 --- a/modules-available/locationinfo/frontend/jquery-week-calendar/jquery.weekcalendar.js +++ b/modules-available/locationinfo/frontend/jquery-week-calendar/jquery.weekcalendar.js @@ -323,9 +323,13 @@ function MyDate() { this._loadCalEvents(this.element.data('startDate')); }, - resizeCalendar:function(){ + resizeCalendar:function(){ this._resizeCalendar(); - }, + }, + scrollToHour:function(){ + console.log("scroll"); + this._scrollToHour(new MyDate(), false); + }, /* * Clear all events currently loaded into the calendar */ -- cgit v1.2.3-55-g7522