Commit cd9e1db1 authored by gergely-ujvari's avatar gergely-ujvari

Merge pull request #2065 from hypothesis/fix-digest-problem

Do angular magic differently
parents c927c44a 8cf994cd
...@@ -335,8 +335,7 @@ markdown = ['$filter', '$sanitize', '$sce', '$timeout', ($filter, $sanitize, $sc ...@@ -335,8 +335,7 @@ markdown = ['$filter', '$sanitize', '$sce', '$timeout', ($filter, $sanitize, $sc
# React to the changes to the input # React to the changes to the input
inputEl.bind 'blur change keyup', -> inputEl.bind 'blur change keyup', ->
ctrl.$setViewValue inputEl.val() $timeout -> ctrl.$setViewValue inputEl.val()
scope.$digest()
# Reset height of output div incase it has been changed. # Reset height of output div incase it has been changed.
# Re-render when it becomes uneditable. # Re-render when it becomes uneditable.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment