From 8df6075a8178a2d4d2bc57cea969c0ee0889c900 Mon Sep 17 00:00:00 2001 From: jparez Date: Wed, 7 Aug 2024 10:34:01 +0200 Subject: [PATCH] change HTML parent element of mouseevent listener plugin --- src/plugins/MouseEvents.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/MouseEvents.js b/src/plugins/MouseEvents.js index 79cfe78..8ed1aa6 100644 --- a/src/plugins/MouseEvents.js +++ b/src/plugins/MouseEvents.js @@ -195,7 +195,7 @@ module.exports = class MouseEvents { this.mouseCallbacks.forEach((item, index, array) => { array[index].removeListener = this.instance.addListener( - this.instance.root, + this.instance.videoWrapper, item.event, item.handler, item.options,