mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 00:31: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,4 +1,4 @@
|
||||
import { errorHandle, query, addClass, replaceElement } from './utils';
|
||||
import { errorHandle, query, addClass, replaceElement, isMobile } from './utils';
|
||||
|
||||
export default class Template {
|
||||
constructor(art) {
|
||||
@@ -144,7 +144,7 @@ export default class Template {
|
||||
addClass(this.$info, 'art-backdrop-filter');
|
||||
}
|
||||
|
||||
if (this.art.isMobile) {
|
||||
if (isMobile) {
|
||||
addClass(this.$container, 'art-mobile');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user