maybe we can fix it in js

This commit is contained in:
Jacob Levine 2019-02-09 15:12:17 -06:00
parent 76ac58dbab
commit fe74aea4de

View File

@ -92,7 +92,7 @@ function updem() {
}
});
}
var input = document.getElementsByTagName('input')[0];
var input = document.getElementById('newEM');
input.onkeypress = input.onkeydown = function() {
this.size = ( this.value.length > 10 ) ? this.value.length : 10;