mirror of
				https://github.com/Mabbs/mabbs.github.io
				synced 2025-10-31 18:31:07 +08:00 
			
		
		
		
	Update file message.js
This commit is contained in:
		| @@ -189,7 +189,7 @@ if (!norunFlag) { | |||||||
| 		if (Array.isArray(text)) text = text[Math.floor(Math.random() * text.length + 1) - 1]; | 		if (Array.isArray(text)) text = text[Math.floor(Math.random() * text.length + 1) - 1]; | ||||||
| 		//console.log('showMessage', text); | 		//console.log('showMessage', text); | ||||||
| 		$('.message').stop(); | 		$('.message').stop(); | ||||||
| 		if (text instanceof EventSource) { | 		if (typeof EventSource !== 'undefined' && text instanceof EventSource) { | ||||||
| 			var outputContainer = $('.message')[0]; | 			var outputContainer = $('.message')[0]; | ||||||
| 			var eventFlag = false; | 			var eventFlag = false; | ||||||
| 			text.onmessage = function(event) { | 			text.onmessage = function(event) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user