Update online-offline-events.md
Add HTML5 doctype.
This commit is contained in:
parent
4176d542a5
commit
29c6d1e46f
1 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,7 @@ app.on('ready', function() {
|
|||
_online-status.html_
|
||||
|
||||
```html
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<script>
|
||||
|
@ -62,6 +63,7 @@ ipc.on('online-status-changed', function(event, status) {
|
|||
_online-status.html_
|
||||
|
||||
```html
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<script>
|
||||
|
|
Loading…
Reference in a new issue