Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop
This commit is contained in:
		
						commit
						b7f4cb6433
					
				
					 2 changed files with 17 additions and 1 deletions
				
			
		|  | @ -18,6 +18,7 @@ You should also include the user name that made the change. | |||
| - Server: リモートユーザーを正しくブロックできるように修正する @xianonn | ||||
| - Client: 一度作ったwebhookの設定画面を開こうとするとページがフリーズする @syuilo | ||||
| - Client: MiAuth認証ページが機能していない @syuilo | ||||
| - Client: 一部のアプリからファイルを投稿フォームへドロップできない場合がある問題を修正 @m-hayabusa | ||||
| 
 | ||||
| ## 12.117.1 (2022/07/19) | ||||
| 
 | ||||
|  |  | |||
|  | @ -479,7 +479,22 @@ function onDragover(ev) { | |||
| 	if (isFile || isDriveFile) { | ||||
| 		ev.preventDefault(); | ||||
| 		draghover = true; | ||||
| 		ev.dataTransfer.dropEffect = ev.dataTransfer.effectAllowed === 'all' ? 'copy' : 'move'; | ||||
| 		switch (ev.dataTransfer.effectAllowed) { | ||||
| 			case 'all': | ||||
| 			case 'uninitialized': | ||||
| 			case 'copy':  | ||||
| 			case 'copyLink':  | ||||
| 			case 'copyMove':  | ||||
| 				ev.dataTransfer.dropEffect = 'copy'; | ||||
| 				break; | ||||
| 			case 'linkMove': | ||||
| 			case 'move': | ||||
| 				ev.dataTransfer.dropEffect = 'move'; | ||||
| 				break; | ||||
| 			default: | ||||
| 				ev.dataTransfer.dropEffect = 'none'; | ||||
| 				break; | ||||
| 		} | ||||
| 	} | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue