Update radio.js
This commit is contained in:
		
							
								
								
									
										19
									
								
								js/radio.js
									
									
									
									
									
								
							
							
						
						
									
										19
									
								
								js/radio.js
									
									
									
									
									
								
							@@ -7,15 +7,6 @@ function show()
 | 
			
		||||
      $('#title').html(html);
 | 
			
		||||
    }
 | 
			
		||||
  });
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
$(document).ready(function(){
 | 
			
		||||
  show();
 | 
			
		||||
  setInterval('show()',5000);
 | 
			
		||||
  });
 | 
			
		||||
 | 
			
		||||
function show1()
 | 
			
		||||
{
 | 
			
		||||
  $.ajax({
 | 
			
		||||
    url: '../online.php',
 | 
			
		||||
    cache: false,
 | 
			
		||||
@@ -25,7 +16,9 @@ function show1()
 | 
			
		||||
  });
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
$(document).ready(function(){
 | 
			
		||||
  show1();
 | 
			
		||||
  setInterval('show1()',5000);
 | 
			
		||||
  });
 | 
			
		||||
$(document).ready(
 | 
			
		||||
  () => {
 | 
			
		||||
    show();
 | 
			
		||||
    setInterval(show, 5000);
 | 
			
		||||
  }
 | 
			
		||||
);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user