mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	Fix bug
This commit is contained in:
		
							parent
							
								
									b77a8af6e3
								
							
						
					
					
						commit
						6119312a74
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -18,7 +18,11 @@
 | 
			
		|||
// ブロック内に入れてスコープを非グローバル化するとそれが防げます
 | 
			
		||||
// (Chrome以外のブラウザでは検証していません)
 | 
			
		||||
{
 | 
			
		||||
	if (localStorage.getItem('shouldFlush') == 'true') refresh();
 | 
			
		||||
	// キャッシュ削除要求があれば従う
 | 
			
		||||
	if (localStorage.getItem('shouldFlush') == 'true') {
 | 
			
		||||
		refresh();
 | 
			
		||||
		return;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	// Get the current url information
 | 
			
		||||
	const url = new URL(location.href);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue