mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-21 12:41:20 -08:00
fix style
This commit is contained in:
1 parent
adc837e225
commit
9efdab28b9
3 files changed
+9
-4
No files matched your search
@@ -242,7 +242,7 @@ class Artplayer extends (0, _emitterDefault.default) {
|
||||
return "development";
|
||||
}
|
||||
static get build() {
|
||||
return "2023-09-01 21:13:37";
|
||||
return "2023-09-10 11:17:51";
|
||||
}
|
||||
static get config() {
|
||||
return 0, _configDefault.default;
|
||||
@@ -399,7 +399,9 @@ Artplayer.FULLSCREEN_WEB_IN_BODY = false;
|
||||
Artplayer.LOG_VERSION = true;
|
||||
Artplayer.USE_RAF = false;
|
||||
if (typeof document !== "undefined") {
|
||||
if (!document.getElementById("artplayer-style")) {
|
||||
const $style = document.getElementById("artplayer-style");
|
||||
if ($style) $style.textContent = (0, _indexLessDefault.default);
|
||||
else {
|
||||
const $style = _utils.createElement("style");
|
||||
$style.id = "artplayer-style";
|
||||
$style.textContent = (0, _indexLessDefault.default);
|
||||
|
||||
Reference in new issue
Block a user