mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-22 13:07:59 +01:00
Fixes #79: The back button works a lot better now.
This commit is contained in:
parent
5fe0eb1dfa
commit
824229b600
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ module.exports = angular.module('ponyfm').controller "application", [
|
|||
try
|
||||
$injector.invoke(preloader, null, {$state: stateToInject}).then ->
|
||||
statesPreloaded[newState] = true
|
||||
$state.transitionTo newState, newParams
|
||||
$state.transitionTo newState, newParams, {location: 'replace'}
|
||||
catch error
|
||||
$state.transitionTo newState, newParams
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue