forked from MarseyWorld/MarseyWorld
try to fix
parent
54a5357136
commit
432f90b8d8
|
@ -109,8 +109,8 @@ function send() {
|
|||
function quote(t) {
|
||||
text = t.previousElementSibling.innerHTML.replace(/>/g, "> ").replace(/\n/g, "\n> ").replace(/\*/g,"\\*")
|
||||
let username
|
||||
try {username = t.parentElement.previousElementSibling.innerHTML}
|
||||
catch(e) {username = t.parentElement.parentElement.previousElementSibling.innerHTML}
|
||||
try {username = t.parentElement.previousElementSibling.previousElementSibling.innerHTML}
|
||||
catch(e) {username = t.parentElement.parentElement.previousElementSibling.previousElementSibling.innerHTML}
|
||||
textbox.value = '> ' + text + '\n@' + username + ' '
|
||||
textbox.focus()
|
||||
autoExpand(textbox);
|
||||
|
|
|
@ -209,6 +209,6 @@
|
|||
<script src="{{asset('js/lozad.js')}}"></script>
|
||||
<script src="/assets/js/lite-youtube.js?v=241"></script>
|
||||
|
||||
<script src="/chat.js?v=3022"></script>
|
||||
<script src="/chat.js?v=3023"></script>
|
||||
|
||||
</body>
|
Loading…
Reference in New Issue