r0hanSH před 3 roky
rodič
revize
32cdd3b187
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  1. 4 0
      plugin/notes/speaker-view.html

+ 4 - 0
plugin/notes/speaker-view.html

@@ -368,6 +368,10 @@
 
 				window.addEventListener( 'message', function( event ) {
 
+					if (window.location.origin !== event.origin){
+						return;
+					}
+
 					clearTimeout( connectionTimeout );
 					connectionStatus.style.display = 'none';