Commit 39ae0778 authored by patrickhlauke's avatar patrickhlauke Committed by XhmikosR
Browse files

Remove unnecessary pointer event listeners

these may also be the cause of weird behavior in Chrome/Surface, where scrolling vertically triggers slide advance
parent 6be7293a
Showing with 0 additions and 2 deletions
+0 -2
......@@ -328,9 +328,7 @@ class Carousel {
if (this._pointerEvent) {
$(this._element).on(Event.POINTERDOWN, (event) => start(event))
$(this._element).on(Event.POINTERMOVE, (event) => move(event))
$(this._element).on(Event.POINTERUP, (event) => end(event))
$(this._element).on(Event.POINTERLEAVE, (event) => end(event))
$(this._element).on(Event.POINTERCANCEL, (event) => end(event))
this._element.classList.add(ClassName.POINTER_EVENT)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment