mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	iOS Safari 上で アイコンおよびバナーのアップロードができない不具合を修正 (#6427)
* fix #6076 * 参考文献を明記
This commit is contained in:
		
							parent
							
								
									ffc7f42efc
								
							
						
					
					
						commit
						2bc86756c8
					
				
					 1 changed files with 8 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -41,7 +41,15 @@ export function selectFile(component: any, src: any, label: string | null, multi
 | 
			
		|||
				}).finally(() => {
 | 
			
		||||
					dialog.close();
 | 
			
		||||
				});
 | 
			
		||||
 | 
			
		||||
				// 一応廃棄
 | 
			
		||||
				(window as any).__misskey_input_ref__ = null;
 | 
			
		||||
			};
 | 
			
		||||
 | 
			
		||||
			// https://qiita.com/fukasawah/items/b9dc732d95d99551013d
 | 
			
		||||
			// iOS Safari で正常に動かす為のおまじない
 | 
			
		||||
			(window as any).__misskey_input_ref__ = input;
 | 
			
		||||
 | 
			
		||||
			input.click();
 | 
			
		||||
		};
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue