Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

don't defer model update

  • Loading branch information...
commit 01a1ab7e9fd90d6706bf4c3b8472fd2b100860fd 1 parent 4fd1f7c
@joestelmach joestelmach authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/js/text_field.js
View
2  src/js/text_field.js
@@ -36,7 +36,7 @@
this.input = $.el.input({maxLength : this.options.maxLength});
$(this.input).keyup(_.bind(function(e) {
- _.defer(_(this._updateModel).bind(this));
+ this._updateModel();
if(_(this.options.onKeyPress).exists() && _(this.options.onKeyPress).isFunction()) {
this.options.onKeyPress(e, this);
}
Please sign in to comment.
Something went wrong with that request. Please try again.