Skip to content

Commit

Permalink
Temprorary fix
Browse files Browse the repository at this point in the history
Temporary fix for christopherthielen#138
  • Loading branch information
goddomotfronk committed Jan 27, 2015
1 parent 07cb588 commit 274a20c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions release/ct-ui-router-extras.js
Original file line number Diff line number Diff line change
Expand Up @@ -1273,9 +1273,11 @@ angular.module('ct.ui.router.extras').provider('$futureState',
$timeout(function () {
if ($state.transition) {
$state.transition.then($urlRouter.sync, $urlRouter.sync);
} else {
$urlRouter.sync();
}
// https://github.com/christopherthielen/ui-router-extras/issues/138
//} else {
// $urlRouter.sync();
//}
});
});
}
Expand Down Expand Up @@ -1439,4 +1441,4 @@ angular.module("ct.ui.router.extras").config( [ "$provide", function ($provide)
]
);

})(window, window.angular);
})(window, window.angular);

0 comments on commit 274a20c

Please sign in to comment.