Fixed minor issues

Added minlength to subreddit input  as a redundancy
This commit is contained in:
mxdanger 2022-04-30 22:22:18 -07:00
parent be9e74d838
commit a67e883e61
3 changed files with 1 additions and 1 deletions

View file

Before

Width:  |  Height:  |  Size: 501 B

After

Width:  |  Height:  |  Size: 501 B

View file

@ -573,6 +573,7 @@ function initDraw() {
inputField.placeholder = "r/example";
inputField.pattern = "^r\/[A-Za-z0-9][A-Za-z0-9_]{2,20}$";
inputField.title = "Subbredit in format of r/example";
inputField.minLength = "4";
inputField.maxLength = "23";
inputField.spellcheck = false;
inputField.setAttribute("aria-labelledby", "subredditLabel");

View file

@ -1,5 +1,4 @@
{
"theme_color": "",
"background_color": "#111111",
"display": "minimal-ui",
"scope": "/",