mirror of
https://github.com/placeAtlas/atlas.git
synced 2024-09-28 21:49:06 +02:00
Fixed minor issues
Added minlength to subreddit input as a redundancy
This commit is contained in:
parent
be9e74d838
commit
a67e883e61
3 changed files with 1 additions and 1 deletions
Before Width: | Height: | Size: 501 B After Width: | Height: | Size: 501 B |
|
@ -573,6 +573,7 @@ function initDraw() {
|
||||||
inputField.placeholder = "r/example";
|
inputField.placeholder = "r/example";
|
||||||
inputField.pattern = "^r\/[A-Za-z0-9][A-Za-z0-9_]{2,20}$";
|
inputField.pattern = "^r\/[A-Za-z0-9][A-Za-z0-9_]{2,20}$";
|
||||||
inputField.title = "Subbredit in format of r/example";
|
inputField.title = "Subbredit in format of r/example";
|
||||||
|
inputField.minLength = "4";
|
||||||
inputField.maxLength = "23";
|
inputField.maxLength = "23";
|
||||||
inputField.spellcheck = false;
|
inputField.spellcheck = false;
|
||||||
inputField.setAttribute("aria-labelledby", "subredditLabel");
|
inputField.setAttribute("aria-labelledby", "subredditLabel");
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
{
|
{
|
||||||
"theme_color": "",
|
|
||||||
"background_color": "#111111",
|
"background_color": "#111111",
|
||||||
"display": "minimal-ui",
|
"display": "minimal-ui",
|
||||||
"scope": "/",
|
"scope": "/",
|
||||||
|
|
Loading…
Reference in a new issue