Fixed bug in ext-opensave.js when dropping text. (#1038)

This commit is contained in:
Michael S. Scherotter
2025-03-23 00:11:39 -07:00
committed by GitHub
parent dd6b48779f
commit f4a66c989c

View File

@@ -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()