forked from GitHub/dbot
		
	img count
This commit is contained in:
		
							parent
							
								
									3a6e86d7ad
								
							
						
					
					
						commit
						37a37c97b9
					
				| @ -6,7 +6,10 @@ html(lang='en') | ||||
|     link(rel="stylesheet", href="/imgurr.css") | ||||
|     title random imgur | ||||
|     script | ||||
|       var count = 0; | ||||
|       function wat() { | ||||
|         count += 1; | ||||
|         $('#loading').text('Loading image ' + count); | ||||
|         $('#loading').show(); | ||||
|         $('#image').load(function(){$('#loading').hide(); console.log('loaded')}); | ||||
|         $.get("/api/imgur/getRandomImage", function(d) {$('#image').attr('src', d.data[0])}, "json"); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 reality
						reality