Skip to content

Commit

Permalink
Fixed text input issue
Browse files Browse the repository at this point in the history
  • Loading branch information
r-arvind committed Oct 6, 2018
1 parent 7b792f4 commit 56f2de6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ <h2>What does this Opamp designer do?
var regex = /[0-9]|\./;
if( !regex.test(key) ) {
theEvent.returnValue = false;
if(theEvent.preventDefault) theEvent.preventDefault();
// if(theEvent.preventDefault) theEvent.preventDefault();
}
}
</script>
Expand Down

0 comments on commit 56f2de6

Please sign in to comment.