mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2026-10-12 05:08:31 +00:00
maybe we can fix it in js
This commit is contained in:
1 parent
db0ddec2c6
commit
76ac58dbab
1 file changed
+5
@@ -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;
|
||||||
|
};
|
||||||
Reference in new issue
Block a user