mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 08:51:20 -08:00
remove isMobile from instance
This commit is contained in:
1 parent
6b19316bf3
commit
7d06600d7b
10 files changed
+23
-102
No files matched your search
@@ -1,7 +1,7 @@
|
||||
import { clamp, secondToTime } from '../utils';
|
||||
import { clamp, secondToTime, isMobile } from '../utils';
|
||||
|
||||
export default function gestureInit(art, events) {
|
||||
if (art.isMobile && !art.option.isLive) {
|
||||
if (isMobile && !art.option.isLive) {
|
||||
const {
|
||||
player,
|
||||
notice,
|
||||
|
||||
Reference in new issue
Block a user