mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 09:41:20 -08:00
Update template.js
This commit is contained in:
1 parent
6b9e0b3c42
commit
09a28ca2c4
1 file changed
+1
-1
@@ -12,7 +12,7 @@ export default class Template {
|
|||||||
}
|
}
|
||||||
|
|
||||||
errorHandle(
|
errorHandle(
|
||||||
art.constructor.instances.every((art) => art.template.$container !== this.$container),
|
art.constructor.instances.every((ins) => ins.template.$container !== this.$container),
|
||||||
'Cannot mount multiple instances on the same dom element',
|
'Cannot mount multiple instances on the same dom element',
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user