summaryrefslogtreecommitdiff
path: root/src/templates
diff options
context:
space:
mode:
authorAugusto Bennemann <gutobenn@gmail.com>2015-12-22 13:25:56 -0200
committerAugusto Bennemann <gutobenn@gmail.com>2015-12-22 13:25:56 -0200
commita34c8e4721bdfc4c5b81adce8336884c613f4530 (patch)
tree758fd4eb42ff30919cc588f64a226a6792fd9b49 /src/templates
parent83597562c1dd8f9d284cc68a8a94b63cdac039a1 (diff)
downloadetherpad-lite-a34c8e4721bdfc4c5b81adce8336884c613f4530.zip
Limit padname size to 50 characters
Diffstat (limited to 'src/templates')
-rw-r--r--src/templates/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/templates/index.html b/src/templates/index.html
index 626630e3..0b0be79b 100644
--- a/src/templates/index.html
+++ b/src/templates/index.html
@@ -163,7 +163,7 @@
<buttOn id="button" onclick="go2Random()" data-l10n-id="index.newPad"></button>
<label id="label" for="padname" data-l10n-id="index.createOpenPad"></label>
<form action="#" onsubmit="go2Name();return false;">
- <input type="text" id="padname" autofocus x-webkit-speech>
+ <input type="text" id="padname" maxlength="50" autofocus x-webkit-speech>
<button type="submit">OK</button>
</form>
</div>