mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-19 19:51:20 -08:00
修复提示语的 timer bug
This commit is contained in:
1 parent
e33934d982
commit
03605262bd
4 files changed
+2
-4
No files matched your search
@@ -5275,9 +5275,9 @@
|
||||
$noticeInner = _this$art$template.$noticeInner;
|
||||
setStyle($notice, 'display', 'block');
|
||||
$noticeInner.innerHTML = msg instanceof Error ? msg.message.trim() : msg;
|
||||
clearTimeout(this.timer);
|
||||
|
||||
if (autoHide) {
|
||||
clearTimeout(this.timer);
|
||||
this.timer = setTimeout(function () {
|
||||
_this.hide();
|
||||
}, time);
|
||||
|
||||
Reference in new issue
Block a user