Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Commit 6068ba5

Browse files
committed
Merge pull request #204 from kobber/dev
enhancement(core): Use $digest instead of $apply
2 parents a67e73c + 946215d commit 6068ba5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tinymce.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ angular.module('ui.tinymce', [])
2828

2929
ngModel.$setViewValue(content);
3030
if (!$rootScope.$$phase) {
31-
scope.$apply();
31+
scope.$digest();
3232
}
3333
};
3434

0 commit comments

Comments
 (0)