mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-28 02:01:20 -08:00
删除多余字符
This commit is contained in:
1 parent
2cf7905d58
commit
14701f2141
3 files changed
+7
-6
No files matched your search
@@ -4,7 +4,7 @@ export default class Whitelist {
|
||||
constructor: { kindOf },
|
||||
option: { whitelist },
|
||||
} = art;
|
||||
this.ua = window.navigator.userAgent;
|
||||
this.ua = navigator.userAgent;
|
||||
this.isMobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(this.ua);
|
||||
this.state =
|
||||
!this.isMobile ||
|
||||
|
||||
Reference in new issue
Block a user