mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(requirejs): fix bug with loading order of angular & taps
This commit is contained in:
@@ -550,8 +550,9 @@ function tapTargetElement(ele) {
|
||||
}
|
||||
|
||||
ionic.DomUtil.ready(function(){
|
||||
var ng = typeof angular !== 'undefined' ? angular : null;
|
||||
//do nothing for e2e tests
|
||||
if (!angular.scenario) {
|
||||
if (!ng || (ng && !ng.scenario)) {
|
||||
ionic.tap.register(document);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user