diff --git a/src/main/webapp/resources/sneat/libs/perfect-scrollbar/perfect-scrollbar.js b/src/main/webapp/resources/sneat/libs/perfect-scrollbar/perfect-scrollbar.js index f34b15fc..768e1d38 100644 --- a/src/main/webapp/resources/sneat/libs/perfect-scrollbar/perfect-scrollbar.js +++ b/src/main/webapp/resources/sneat/libs/perfect-scrollbar/perfect-scrollbar.js @@ -117,7 +117,7 @@ this.handlers[eventName] = []; } this.handlers[eventName].push(handler); - this.element.addEventListener(eventName, handler, false); + this.element.addEventListener(eventName, handler, {useCapture : false, passive : false}); }; EventElement.prototype.unbind = function unbind (eventName, target) { @@ -127,7 +127,7 @@ if (target && handler !== target) { return true; } - this$1.element.removeEventListener(eventName, handler, false); + this$1.element.removeEventListener(eventName, handler, {useCapture : false}); return false; }); };