Skip to content

Commit

Permalink
Merge pull request #5123 from FayneAldan/patch-1
Browse files Browse the repository at this point in the history
Fix two errors with the fullscreen FAQ in the docs
  • Loading branch information
rogerwang authored Jul 19, 2016
2 parents 3ffb6f6 + b621c72 commit 69a472a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/For Users/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ To enable ESC key for leaving fullscreen mode, you can use [Shortcut API](../Ref

```javascript
nw.App.registerGlobalHotKey(new nw.Shortcut({
key: "Esc",
key: "Escape",
active: function () {
// decide whether to leave fullscreen mode
// then ...
nw.Window.get().leaveFullscreen();
})
}
}));
```

0 comments on commit 69a472a

Please sign in to comment.