kopia lustrzana https://github.com/cheeaun/phanpy
				
				
				
			
							rodzic
							
								
									d16cd501d4
								
							
						
					
					
						commit
						98d1f44244
					
				| 
						 | 
					@ -265,7 +265,8 @@ function Timeline({
 | 
				
			||||||
    (visible) => {
 | 
					    (visible) => {
 | 
				
			||||||
      if (visible) {
 | 
					      if (visible) {
 | 
				
			||||||
        const timeDiff = Date.now() - lastHiddenTime.current;
 | 
					        const timeDiff = Date.now() - lastHiddenTime.current;
 | 
				
			||||||
        if (!lastHiddenTime.current || timeDiff > 1000 * 60) {
 | 
					        if (!lastHiddenTime.current || timeDiff > 1000 * 3) {
 | 
				
			||||||
 | 
					          // 3 seconds
 | 
				
			||||||
          loadOrCheckUpdates({
 | 
					          loadOrCheckUpdates({
 | 
				
			||||||
            disableIdleCheck: true,
 | 
					            disableIdleCheck: true,
 | 
				
			||||||
          });
 | 
					          });
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Ładowanie…
	
		Reference in New Issue