Fix #2443 (importer): Firefox doesn't have srcElement
Merge pull request #2450 from PaulL1/2443_fix_importer

Fix #2443 (importer): Firefox doesn't have srcElement