Skip to content

Commit

Permalink
Another dot
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsuhiko committed Jan 28, 2011
1 parent 938ed80 commit 2f97d94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/script.js
Expand Up @@ -44,7 +44,7 @@ function makeFeedbackBox(feedback) {
return false; return false;
} }
if (this.version.value.length > 0 && if (this.version.value.length > 0 &&
!this.version.value.match(/^((\d{1,5}\.\d{1,5})|(dev))$/)) { !this.version.value.match(/^((\d{1,5}\.\d{1,5}(\.\d{1,3})?)|(dev))$/)) {
showFormError('Malformed version. Use Major.Minor or dev'); showFormError('Malformed version. Use Major.Minor or dev');
return false; return false;
} }
Expand Down

0 comments on commit 2f97d94

Please sign in to comment.