Skip to content

Commit

Permalink
add monkey patch
Browse files Browse the repository at this point in the history
  • Loading branch information
nickvallee committed Apr 4, 2019
1 parent baf0a56 commit 34dd4ed
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/tooltip/tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,12 @@ angular.module('ui.bootstrap.tooltip', ['ui.bootstrap.position', 'ui.bootstrap.s
}
};

// Chronogolf: monkey patch to handle zone error during e2e tests
if (window.Zone) {
var zone = new window.Zone();
positionTooltip = zone.wrap(positionTooltip);
}

// Set up the correct scope to allow transclusion later
ttScope.origScope = scope;

Expand Down

0 comments on commit 34dd4ed

Please sign in to comment.