Fixed docs for online/offline event being backwards

github: close apache/cordova-docs#213
diff --git a/doc/index.md b/doc/index.md
index 8c48ffe..ebae403 100644
--- a/doc/index.md
+++ b/doc/index.md
@@ -128,8 +128,7 @@
 The `offline` event fires when a previously connected device loses a
 network connection so that an application can no longer access the
 Internet.  It relies on the same information as the Connection API,
-and fires when the `connection.type` changes from `NONE` to any other
-value.
+and fires when the value of `connection.type` becomes `NONE`.
 
 Applications typically should use `document.addEventListener` to
 attach an event listener once the `deviceready` event fires.
@@ -166,8 +165,9 @@
 
 The `online` event fires when a previously unconnected device receives
 a network connection to allow an application access to the Internet.
-It relies on the same information as the Connection API, and fires
-when the value of `connection.type` becomes `NONE`.
+It relies on the same information as the Connection API,
+and fires when the `connection.type` changes from `NONE` to any other
+value.
 
 Applications typically should use `document.addEventListener` to
 attach an event listener once the `deviceready` event fires.