forked from MarseyWorld/MarseyWorld
fix prev commit
parent
fef15b7da9
commit
82237ca585
|
@ -80,7 +80,7 @@ socket.on('speak', function(json) {
|
|||
document.getElementsByClassName('userlink')[0].classList.remove('d-none')
|
||||
document.getElementsByClassName('avatar')[0].classList.remove('d-none')
|
||||
document.getElementsByClassName('avatar-pic')[0].src = json['avatar']
|
||||
if (json['hat']) document.getElementsByClassName('avatar-hat')[0].src = json['hat']
|
||||
if (json['hat']) document.getElementsByClassName('avatar-hat')[0].src = `/i/hats/${json['hat']}?v=3`
|
||||
document.getElementsByClassName('userlink')[0].href = '/@' + json['username']
|
||||
document.getElementsByClassName('userlink')[0].style.color = '#' + json['namecolor']
|
||||
document.getElementsByClassName('time')[0].classList.remove('d-none')
|
||||
|
|
|
@ -222,6 +222,6 @@
|
|||
|
||||
<script src="{{asset('js/lozad.js')}}"></script>
|
||||
<script src="/assets/js/lite-youtube.js?v=4000"></script>
|
||||
<script src="/chat.js?v=4001"></script>
|
||||
<script src="/chat.js?v=4002"></script>
|
||||
|
||||
</body>
|
Loading…
Reference in New Issue