mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-12-27 09:59:10 +00:00
maybe we can fix it in js
This commit is contained in:
parent
db0ddec2c6
commit
76ac58dbab
@ -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;
|
||||||
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user