Make history.go work
This commit is contained in:
parent
2bb7497312
commit
e817192df3
4 changed files with 14 additions and 2 deletions
|
@ -87,3 +87,4 @@ sendHistoryOperation = (args...) ->
|
|||
ipc.send 'ATOM_SHELL_NAVIGATION_CONTROLLER', args...
|
||||
window.history.back = -> sendHistoryOperation 'goBack'
|
||||
window.history.forward = -> sendHistoryOperation 'goForward'
|
||||
window.history.go = (offset) -> sendHistoryOperation 'goToOffset', offset
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue