Skip to content

Commit 0d860d0

Browse files
committedJul 24, 2016
Fix(main): Very small tweak in setupTriggerUpdateStyles() to accept the default $interval call that invokes a $apply which will be more robust.
1 parent 9f78cb4 commit 0d860d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ textAngular.service('textAngularManager', ['taToolExecuteAction', 'taTools', 'ta
602602
triggerIntervalTimer = $interval(function() {
603603
updateStyles();
604604
triggerIntervalTimer = undefined;
605-
}, triggerInterval, 1, false); // only trigger once
605+
}, triggerInterval, 1); // only trigger once
606606
};
607607
/* istanbul ignore next: make sure clean up on destroy */
608608
$rootScope.$on('destroy', function() {

0 commit comments

Comments
 (0)