Fix
This commit is contained in:
		
							parent
							
								
									0b465a003b
								
							
						
					
					
						commit
						002f06b29f
					
				
					 1 changed files with 6 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -20,13 +20,15 @@
 | 
			
		|||
					console.error(e);
 | 
			
		||||
				}
 | 
			
		||||
 | 
			
		||||
				localStorage.setItem('should-refresh', 'true');
 | 
			
		||||
 | 
			
		||||
				alert('キャッシュをクリアしました。');
 | 
			
		||||
 | 
			
		||||
				location.href = '/';
 | 
			
		||||
				alert('まもなくページを再度読み込みします。再度読み込みが終わると、再度キャッシュをクリアするか尋ねられるので、「キャンセル」を選択して抜けてください。');
 | 
			
		||||
 | 
			
		||||
				setTimeout(() => {
 | 
			
		||||
					location.reload(true);
 | 
			
		||||
				}, 100);
 | 
			
		||||
			} else {
 | 
			
		||||
				alert('問題が解決しない場合はサーバー管理者までお問い合せください。');
 | 
			
		||||
				location.href = '/';
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
		</script>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue