Show More
@@ -165,12 +165,12 define([ | |||
|
165 | 165 | handleKeyDown: function(e) { |
|
166 | 166 | if (e.keyCode == 13) { |
|
167 | 167 | e.preventDefault(); |
|
168 |
this.handleTextChange( |
|
|
168 | this.handleTextChange(); | |
|
169 | 169 | } |
|
170 | 170 | }, |
|
171 | 171 | |
|
172 |
handleTextChange: function( |
|
|
173 |
var text = |
|
|
172 | handleTextChange: function() { | |
|
173 | var text = this.$readout.text(); | |
|
174 | 174 | var value = this._validate_text_input(text); |
|
175 | 175 | if (isNaN(value)) { |
|
176 | 176 | this.$readout.text(this.model.get('value')); |
General Comments 0
You need to be logged in to leave comments.
Login now