diff options
author | t7yang <t7yang@gmail.com> | 2021-07-17 16:10:02 +0800 |
---|---|---|
committer | Irvin <irvinfly@gmail.com> | 2021-07-19 23:04:27 +0800 |
commit | a02f4b2f60c81e09b318a090e5c9c2d2d641c878 (patch) | |
tree | 2b1849e7a34cb367ff6624e35a35fc827eceef6b /files/zh-cn/web/events/creating_and_triggering_events | |
parent | 8af4d5e8a260f3474b4273d573532ec6fec08ab4 (diff) | |
download | translated-content-a02f4b2f60c81e09b318a090e5c9c2d2d641c878.tar.gz translated-content-a02f4b2f60c81e09b318a090e5c9c2d2d641c878.tar.bz2 translated-content-a02f4b2f60c81e09b318a090e5c9c2d2d641c878.zip |
replace wiki links in zh-CN
Diffstat (limited to 'files/zh-cn/web/events/creating_and_triggering_events')
-rw-r--r-- | files/zh-cn/web/events/creating_and_triggering_events/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/events/creating_and_triggering_events/index.html b/files/zh-cn/web/events/creating_and_triggering_events/index.html index 686d6471af..ea96143dea 100644 --- a/files/zh-cn/web/events/creating_and_triggering_events/index.html +++ b/files/zh-cn/web/events/creating_and_triggering_events/index.html @@ -24,7 +24,7 @@ elem.addEventListener('build', function (e) { ... }, false); // Dispatch the event. elem.dispatchEvent(event);</pre> -<p>上述代码使用了 <a href="https://wiki.developer.mozilla.org/en-US/docs/Web/API/EventTarget/dispatchEvent">EventTarget.dispatchEvent()</a> 方法。</p> +<p>上述代码使用了 <a href="/zh-CN/docs/Web/API/EventTarget/dispatchEvent">EventTarget.dispatchEvent()</a> 方法。</p> <p><span style="line-height: 1.5;">绝大多数现代浏览器中都会支持这个构造函数(Internet Explorer 例外)。 要了解更为复杂的方法,可参考下面的 </span><a href="#The_old-fashioned_way" style="line-height: 1.5;" title="#过时的方式">过时的方式</a><span style="line-height: 1.5;"> 一节。</span></p> |