fixed viaon and vialistener being the wrong way around

This commit is contained in:
remy 2010-08-18 14:23:14 +01:00
parent 6f329329ec
commit 9a3d97b8d5
1 changed files with 2 additions and 2 deletions

View File

@ -11,8 +11,8 @@ li::before {
<p>Test required here: File -> Work Offline - toggle the value and there <em>should</em> be three list items notifying of online and offline.</p>
<ul>
<li>via body "on" events: <span id="viabody"></span></li>
<li>via window "on" events: <span id="vialistener"></span></li>
<li>via window.addEventListener: <span id="viaon"></span></li>
<li>via window "on" events: <span id="viaon"></span></li>
<li>via window.addEventListener: <span id="vialistener"></span></li>
</ul>
<p>Note that the test shows that <code>window.ononline</code> and <code>window.onoffline</code> doesn't work (which I thought I had read in the specs somewhere...).</p>
</article>