pull/2/head 0.9.3.6
gorhill 8 years ago
commit 2ef2505507

@ -179,7 +179,7 @@ var handleImportFilePicker = function() {
if ( file === undefined || file.name === '' ) {
return;
}
if ( file.type.indexOf('text') !== 0 ) {
if ( file.type.indexOf('text') !== 0 && file.type !== 'application/json') {
return;
}
var fr = new FileReader();

Loading…
Cancel
Save