Fixed bug in ext-opensave.js when dropping text. (#1038)
This commit is contained in:
committed by
GitHub
parent
dd6b48779f
commit
f4a66c989c
@@ -44,6 +44,9 @@ export default {
|
||||
* @returns {void}
|
||||
*/
|
||||
const importImage = (e) => {
|
||||
// only import files
|
||||
if (!e.dataTransfer.types.includes('Files')) return
|
||||
|
||||
$id('se-prompt-dialog').title = this.i18next.t('notification.loadingImage')
|
||||
$id('se-prompt-dialog').setAttribute('close', false)
|
||||
e.stopPropagation()
|
||||
|
||||
Reference in New Issue
Block a user