From 571cc9ed1d0bedc013cb3613ebd8145bbfa1a7c6 Mon Sep 17 00:00:00 2001 From: Negue Date: Thu, 1 Jan 2015 20:31:21 +0100 Subject: [PATCH] change ngModel to text --- script/directives.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/directives.js b/script/directives.js index f6335bbd5d..54a76c2b43 100644 --- a/script/directives.js +++ b/script/directives.js @@ -92,7 +92,7 @@ var removeWatch = !!scope.$eval(attrs.removeWatch); var useTimeout = !!scope.$eval(attrs.useTimeout); - var doRemoveWatch = scope.$watch(attrs.ngModel, function(value, oldValue) { + var doRemoveWatch = scope.$watch(attrs.text, function(value, oldValue) { var replaceMarkdown = function(){ var markdown = value;