Skip to content

Commit 9a3d97b

Browse files
committed
fixed viaon and vialistener being the wrong way around
1 parent 6f32932 commit 9a3d97b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

demos/offline-events.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
<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>
1212
<ul>
1313
<li>via body "on" events: <span id="viabody"></span></li>
14-
<li>via window "on" events: <span id="vialistener"></span></li>
15-
<li>via window.addEventListener: <span id="viaon"></span></li>
14+
<li>via window "on" events: <span id="viaon"></span></li>
15+
<li>via window.addEventListener: <span id="vialistener"></span></li>
1616
</ul>
1717
<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>
1818
</article>

0 commit comments

Comments
 (0)