Skip to content
This repository was archived by the owner on Jul 21, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Jun 24, 2016
2 parents 5bb96c1 + cf4bb05 commit 2ef2505
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/user-rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 2ef2505

Please sign in to comment.