mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(ionPrefix): disableRegisterByTagName updated w/ ion- prefix for correct view history
This commit is contained in:
@@ -17,7 +17,7 @@ angular.module('ionic.ui.sideMenu', ['ionic.service.gesture', 'ionic.service.vie
|
||||
|
||||
.run(['$ionicViewService', function($ionicViewService) {
|
||||
// set that the side-menus directive should not animate when transitioning to it
|
||||
$ionicViewService.disableRegisterByTagName('side-menus');
|
||||
$ionicViewService.disableRegisterByTagName('ion-side-menus');
|
||||
}])
|
||||
|
||||
.directive('ionSideMenus', function() {
|
||||
|
||||
2
js/ext/angular/src/directive/ionicTabBar.js
vendored
2
js/ext/angular/src/directive/ionicTabBar.js
vendored
@@ -10,7 +10,7 @@ angular.module('ionic.ui.tabs', ['ionic.service.view', 'ngSanitize'])
|
||||
.run(['$ionicViewService', function($ionicViewService) {
|
||||
// set that the tabs directive should not animate when transitioning
|
||||
// to it. Instead, the children <ion-tab> directives would animate
|
||||
$ionicViewService.disableRegisterByTagName('tabs');
|
||||
$ionicViewService.disableRegisterByTagName('ion-tabs');
|
||||
}])
|
||||
|
||||
.controller('$ionicTabs', ['$scope', '$ionicViewService', function($scope, $ionicViewService) {
|
||||
|
||||
Reference in New Issue
Block a user