From fe74aea4de0479efadfa2828bf69c319aefb6b94 Mon Sep 17 00:00:00 2001 From: Jacob Levine Date: Sat, 9 Feb 2019 15:12:17 -0600 Subject: [PATCH] maybe we can fix it in js --- website/public/profile/scripts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/public/profile/scripts.js b/website/public/profile/scripts.js index 0254947a..a534e4ba 100644 --- a/website/public/profile/scripts.js +++ b/website/public/profile/scripts.js @@ -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;