mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-24 14:41:20 -08:00
add event to hotkey callback
This commit is contained in:
1 parent
019092dd11
commit
9ed840b194
3 files changed
+3
-3
No files matched your search
@@ -4004,7 +4004,7 @@
|
||||
if (events) {
|
||||
event.preventDefault();
|
||||
events.forEach(function (fn) {
|
||||
return fn.call(art);
|
||||
return fn.call(art, event);
|
||||
});
|
||||
art.emit('hotkey', event);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user