mirror of
				https://github.com/TitanEmbeds/Titan.git
				synced 2025-11-04 07:47:10 +01:00 
			
		
		
		
	How does percentage work again?
This commit is contained in:
		@@ -164,7 +164,7 @@
 | 
			
		||||
                    // For handling the progress of the upload
 | 
			
		||||
                    myXhr.upload.addEventListener('progress', function(e) {
 | 
			
		||||
                        if (e.lengthComputable) {
 | 
			
		||||
                            $("#filemodalprogress-inner").css("width", (e.loaded/e.total) + "%")
 | 
			
		||||
                            $("#filemodalprogress-inner").css("width", (e.loaded/e.total) * 100 + "%")
 | 
			
		||||
                        }
 | 
			
		||||
                    } , false);
 | 
			
		||||
                }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user