aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/guide/forms.ngdoc
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/guide/forms.ngdoc')
-rw-r--r--docs/content/guide/forms.ngdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/guide/forms.ngdoc b/docs/content/guide/forms.ngdoc
index 8c11d67e..c26eee79 100644
--- a/docs/content/guide/forms.ngdoc
+++ b/docs/content/guide/forms.ngdoc
@@ -293,7 +293,7 @@ The following example shows how to add two-way data-binding to contentEditable e
require: 'ngModel',
link: function(scope, elm, attrs, ctrl) {
// view -> model
- elm.bind('blur', function() {
+ elm.on('blur', function() {
scope.$apply(function() {
ctrl.$setViewValue(elm.html());
});