1
0
مراية لـ https://github.com/Mabbs/mabbs.github.io تم المزامنة 2026-07-20 23:31:51 +00:00

Update file message.js

هذا الالتزام موجود في:
mayx
2025-06-19 11:19:19 +00:00
الأصل 7ea27ffbda
التزام 4ee425d47c

عرض الملف

@@ -189,7 +189,7 @@ if (!norunFlag) {
if (Array.isArray(text)) text = text[Math.floor(Math.random() * text.length + 1) - 1];
//console.log('showMessage', text);
$('.message').stop();
if (text instanceof EventSource) {
if (typeof EventSource !== 'undefined' && text instanceof EventSource) {
var outputContainer = $('.message')[0];
var eventFlag = false;
text.onmessage = function(event) {