maybe we can fix it in js

This commit is contained in:
Jacob Levine 2019-02-09 15:10:24 -06:00
parent db0ddec2c6
commit 76ac58dbab

View File

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