Permalink
Browse files

Fixed bug

  • Loading branch information...
1 parent ca2cd43 commit e31a80bd77a8cc8fc01bac2b814a5bd3c33d9051 @LeaVerou committed Apr 17, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 incrementable.js
View
@@ -67,8 +67,7 @@ var _ = window.Incrementable = function(textField, multiplier, units) {
}, false);
this.textField.addEventListener('keypress', function(evt) {
- if(me.changed && me.checkModifiers(evt)
- && (evt.keyCode == 38 || evt.keyCode == 40))
+ if(me.changed && (evt.keyCode == 38 || evt.keyCode == 40))
evt.preventDefault();
evt.stopPropagation();
me.changed = false;

0 comments on commit e31a80b

Please sign in to comment.