Skip to content

Commit 56f3cd5

Browse files
committed
correct mime type for csv and txt
1 parent a891806 commit 56f3cd5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tableExport.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ THE SOFTWARE.*/
7575
console.log(tdData);
7676
}
7777
var base64data = "base64," + $.base64.encode(tdData);
78-
window.open('data:application/'+defaults.type+';filename=exportData;' + base64data);
78+
window.open('data:text/'+defaults.type+';filename=exportData;' + base64data);
7979
}else if(defaults.type == 'sql'){
8080

8181
// Header

0 commit comments

Comments
 (0)