Skip to content

Commit

Permalink
fix(requirejs): fix bug with loading order of angular & taps
Browse files Browse the repository at this point in the history
  • Loading branch information
ajoslin committed May 21, 2014
1 parent 3192c77 commit 3618109
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/utils/tap.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
});

0 comments on commit 3618109

Please sign in to comment.