Header and platform fix

This commit is contained in:
Max Lynch
2013-11-19 19:05:47 -06:00
parent 14028987e4
commit 55084bfc2a
3 changed files with 10 additions and 2 deletions

View File

@@ -260,6 +260,10 @@ angular.module('ionic.ui.navRouter', [])
var oldTitle = $scope.currentTitle;
$scope.oldTitle = oldTitle;
if(typeof data.title !== 'undefined') {
$scope.currentTitle = data.title;
}
if(data.animate !== false && typeof data.title !== 'undefined') {
animate($scope, $element, oldTitle, data, function() {
hb.align();