forked from MarseyWorld/MarseyWorld
change chat char limit again
parent
0bd78bb676
commit
0fa6442846
|
@ -47,7 +47,10 @@ def speak(data, v):
|
|||
else: del muted[vname]
|
||||
|
||||
global messages, total
|
||||
text = data[:200].strip()
|
||||
|
||||
if SITE == 'rdrama.net': text = data[:200].strip()
|
||||
else: text = data[:1000].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="200" type="text" class="form-control" placeholder="Message" autocomplete="off" autofocus rows="1"></textarea>
|
||||
<textarea id="input-text" minlength="1" maxlength="{% if SITE == 'rdrama.net' %}200{% else %}1000{% endif %}" 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