mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-26 06:57:58 +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
|
try
|
||||||
$injector.invoke(preloader, null, {$state: stateToInject}).then ->
|
$injector.invoke(preloader, null, {$state: stateToInject}).then ->
|
||||||
statesPreloaded[newState] = true
|
statesPreloaded[newState] = true
|
||||||
$state.transitionTo newState, newParams
|
$state.transitionTo newState, newParams, {location: 'replace'}
|
||||||
catch error
|
catch error
|
||||||
$state.transitionTo newState, newParams
|
$state.transitionTo newState, newParams
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue