summaryrefslogtreecommitdiffstats
path: root/apps/calendar
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-02-26 21:29:52 +0100
committerGeorg Ehrke <dev@georgswebsite.de>2012-02-26 21:29:52 +0100
commit8c09330959a461ae50c6924cedb16eb8212f5c69 (patch)
treeb1fa4c7033d1f0f78b8539e8b80182b80eb67aa4 /apps/calendar
parent04c9cc60349fe8d6899a42781ccacaf6d9df5bf5 (diff)
downloadnextcloud-server-8c09330959a461ae50c6924cedb16eb8212f5c69.tar.gz
nextcloud-server-8c09330959a461ae50c6924cedb16eb8212f5c69.zip
add missing parameter to addEventListener function - bugfix for oc-225
Diffstat (limited to 'apps/calendar')
-rw-r--r--apps/calendar/js/calendar.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/js/calendar.js b/apps/calendar/js/calendar.js
index a1b25780b76..d2af6918d5c 100644
--- a/apps/calendar/js/calendar.js
+++ b/apps/calendar/js/calendar.js
@@ -214,7 +214,7 @@ Calendar={
},
initScroll:function(){
if(window.addEventListener)
- document.addEventListener('DOMMouseScroll', Calendar.UI.scrollCalendar);
+ document.addEventListener('DOMMouseScroll', Calendar.UI.scrollCalendar, false);
//}else{
document.onmousewheel = Calendar.UI.scrollCalendar;
//}