Skip to content

Commit

Permalink
add "number" type to fillable types
Browse files Browse the repository at this point in the history
  • Loading branch information
kv109 committed Feb 26, 2014
1 parent d93c51e commit 8582ad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autologger.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
HTMLInputElement.prototype.hasRequiredALInputAttrs = function() {
if(!(this.hasNameAttribute() || this.hasIdAttribute())) return false;

var allowedTypes = /(text|password|email|tel)/
var allowedTypes = /(text|password|email|tel|number)/
var typeIsCorrect = this.type.match(allowedTypes);

return typeIsCorrect;
Expand Down

0 comments on commit 8582ad9

Please sign in to comment.