From 76ac58dbab91d127f0af59a266b64ea45f86cba0 Mon Sep 17 00:00:00 2001 From: Jacob Levine Date: Sat, 9 Feb 2019 15:10:24 -0600 Subject: [PATCH] maybe we can fix it in js --- website/public/profile/scripts.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/website/public/profile/scripts.js b/website/public/profile/scripts.js index 52cdba59..0254947a 100644 --- a/website/public/profile/scripts.js +++ b/website/public/profile/scripts.js @@ -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; +};