variant: write stylesheet to console on download

...just to be save
This commit is contained in:
Sören Weber 2022-02-24 21:57:56 +01:00
parent 245923a91c
commit b895d0386b
No known key found for this signature in database
GPG Key ID: 07D17FF580AE7589

View File

@ -195,6 +195,7 @@ var variants = {
}, },
download: function(data, mimetype, filename){ download: function(data, mimetype, filename){
console.log( data );
var blob = new Blob([data], { type: mimetype }); var blob = new Blob([data], { type: mimetype });
var url = window.URL.createObjectURL(blob); var url = window.URL.createObjectURL(blob);
var a = document.createElement('a'); var a = document.createElement('a');