aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/document/visibilitychange_event/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/document/visibilitychange_event/index.html')
-rw-r--r--files/zh-cn/web/api/document/visibilitychange_event/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/api/document/visibilitychange_event/index.html b/files/zh-cn/web/api/document/visibilitychange_event/index.html
index f1c945c5ea..a2099d511b 100644
--- a/files/zh-cn/web/api/document/visibilitychange_event/index.html
+++ b/files/zh-cn/web/api/document/visibilitychange_event/index.html
@@ -33,7 +33,7 @@ translation_of: Web/API/Document/visibilitychange_event
<p>该事件不包括文档的更新的可见性状态,但是您可以从文档的  {{domxref("Document.visibilityState", "visibilityState")}} 属性中获取该信息。</p>
<div class="blockIndicator warning">
-<p>当 visibleStateState 属性的值转换为 <code>hidden </code>时,Safari不会按预期触发<code>visibilitychange</code>; 因此,在这种情况下,您还需要包含代码以侦听 <code><a href="https://wiki.developer.mozilla.org/en-US/docs/Web/API/Window/pagehide_event">pagehide</a></code> 事件。</p>
+<p>当 visibleStateState 属性的值转换为 <code>hidden </code>时,Safari不会按预期触发<code>visibilitychange</code>; 因此,在这种情况下,您还需要包含代码以侦听 <code><a href="/zh-CN/docs/Web/API/Window/pagehide_event">pagehide</a></code> 事件。</p>
</div>
<div class="blockIndicator warning">