forked from rDrama/rDrama
reduce chat max char limit
parent
b59056fd16
commit
c4e5c8aefe
|
@ -47,7 +47,7 @@ def speak(data, v):
|
|||
else: del muted[vname]
|
||||
|
||||
global messages, total
|
||||
text = data[:1000].strip()
|
||||
text = data[:200].strip()
|
||||
if not text: return '', 403
|
||||
text_html = sanitize(text)
|
||||
|
||||
|
|
|
@ -184,7 +184,7 @@
|
|||
<span id="loading-indicator" class="d-none"></span>
|
||||
</div>
|
||||
<i class="btn btn-secondary mr-2 fas fa-smile-beam" style="padding-top:0.65rem" onclick="loadEmojis('input-text')" aria-hidden="true" data-bs-toggle="modal" data-bs-target="#emojiModal" data-bs-placement="bottom" title="Add Emoji"></i>
|
||||
<textarea id="input-text" minlength="1" maxlength="1000" type="text" class="form-control" placeholder="Message" autocomplete="off" autofocus rows="1"></textarea>
|
||||
<textarea id="input-text" minlength="1" maxlength="200" type="text" class="form-control" placeholder="Message" autocomplete="off" autofocus rows="1"></textarea>
|
||||
<button id="chatsend" onclick="send()" class="btn btn-primary ml-3" type="submit" onclick="disable(this)">Send</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue