lib/assets/javascripts/directives/mdupdate.coffee in material_raingular-0.0.2.6.5 vs lib/assets/javascripts/directives/mdupdate.coffee in material_raingular-0.0.2.6.6

- old
+ new

@@ -35,11 +35,11 @@ oldValue = eu.element.val() @element.bind 'blur', (event) -> delay = if eu.element.hasClass('autocomplete') then 300 else 0 eu.timeout -> eu.scope.$apply -> - newValue = @element.val() - @updater.update(newValue) if (newValue != oldValue) + newValue = eu.element.val() + eu.updater.update(newValue) if (newValue != oldValue) , delay bindElement: -> eu = @ if @tagName == 'TEXTAREA'