mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-18 02:21:20 -08:00
fix composedPath
This commit is contained in:
1 parent
dd069324f9
commit
fa3d3c6758
2 files changed
+5
-5
No files matched your search
@@ -106,7 +106,7 @@ export default function progress(option) {
|
||||
|
||||
proxy($control, 'mousemove', event => {
|
||||
setStyle($tip, 'display', 'block');
|
||||
if (event.composedPath().indexOf($highlight) > -1) {
|
||||
if (event.composedPath && event.composedPath().indexOf($highlight) > -1) {
|
||||
showHighlight(event);
|
||||
} else {
|
||||
showTime(event);
|
||||
|
||||
Reference in new issue
Block a user