Skip to content

Commit

Permalink
fixed viaon and vialistener being the wrong way around
Browse files Browse the repository at this point in the history
  • Loading branch information
remy committed Aug 18, 2010
1 parent 6f32932 commit 9a3d97b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demos/offline-events.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<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>
Expand Down

0 comments on commit 9a3d97b

Please sign in to comment.