fix up /old_chat
parent
3e6622c511
commit
5014cce503
|
@ -488,7 +488,7 @@ function handle_files(input, newfiles) {
|
|||
oldfiles[ta.id].push(file)
|
||||
if (span.innerHTML != ' ') span.innerHTML += ', '
|
||||
span.innerHTML += file.name.substr(0, 30);
|
||||
if (location.pathname != '/chat')
|
||||
if (location.pathname != '/chat' && location.pathname != '/old_chat')
|
||||
insertText(ta, `[${file.name}]`);
|
||||
}
|
||||
|
||||
|
|
|
@ -420,7 +420,7 @@ function populate_speed_emoji_modal(results, textbox)
|
|||
close_inline_speed_emoji_modal()
|
||||
textbox.value = textbox.value.replace(new RegExp(current_word+"(?=\\s|$)", "gi"), `:${name}: `)
|
||||
textbox.focus()
|
||||
if (document.location.pathname != '/chat'){
|
||||
if (document.location.pathname != '/chat' && document.location.pathname != '/old_chat'){
|
||||
markdown(textbox)
|
||||
}
|
||||
});
|
||||
|
|
|
@ -372,7 +372,7 @@
|
|||
</li>
|
||||
{% endif %}
|
||||
<li class="mt-3">
|
||||
{% if request.path.endswith("/chat") %}
|
||||
{% if request.path.endswith("/chat") or request.path.endswith("/old_chat") %}
|
||||
<h5 class="ml-3">Users Online</h5>
|
||||
<div id="online3" class="col text-left d-lg-none bg-white mb-6 pb-6" style="max-width:300px"></div>
|
||||
<br><br><br><br>
|
||||
|
|
|
@ -137,8 +137,11 @@
|
|||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% if request.path.endswith('/chat') %}
|
||||
{% if request.path.endswith('/chat') or request.path.endswith('/old_chat') %}
|
||||
<link rel="stylesheet" href="{{'css/chat.css' | asset}}">
|
||||
{% endif %}
|
||||
|
||||
{% if request.path.endswith('/chat') %}
|
||||
<link rel="stylesheet" href="{{'css/orgy.css' | asset}}">
|
||||
{% endif %}
|
||||
{% endmacro %}
|
||||
|
|
Loading…
Reference in New Issue