Clear settings import file input so selecting the same file twice works.

This commit is contained in:
ccd0 2015-08-22 06:53:16 -07:00
parent b1e095d18a
commit fed0892179

View File

@ -165,6 +165,7 @@ Settings =
onImport: ->
return unless file = @files[0]
@value = null
output = $('.imp-exp-result')
unless confirm 'Your current settings will be entirely overwritten, are you sure?'
output.textContent = 'Import aborted.'